From 100a4ff33314daa76bb8c0fa67c36ed86cd979d1 Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Thu, 20 Oct 2016 10:22:58 +0200 Subject: [PATCH] =?utf8?q?HSV=20to=20and=20from=20RGBA=20=09modifi=C3=A9?= =?utf8?q?=C2=A0:=20=20=20=20=20=20=20=20=20Default.style=20=09modifi?= =?utf8?q?=C3=A9=C2=A0:=20=20=20=20=20=20=20=20=20Templates/ColorPicker.te?= =?utf8?q?mplate=20=09modifi=C3=A9=C2=A0:=20=20=20=20=20=20=20=20=20src/Gr?= =?utf8?q?aphicObjects/ColorSelector.cs=20=09modifi=C3=A9=C2=A0:=20=20=20?= =?utf8?q?=20=20=20=20=20=20src/GraphicObjects/SaturationValueSelector.cs?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Default.style | 5 + Templates/ColorPicker.template | 12 ++ src/GraphicObjects/ColorSelector.cs | 154 ++++++++++++++++-- src/GraphicObjects/SaturationValueSelector.cs | 2 +- 4 files changed, 154 insertions(+), 19 deletions(-) diff --git a/Default.style b/Default.style index 42e09598..9376a37f 100644 --- a/Default.style +++ b/Default.style @@ -86,4 +86,9 @@ ColorSpinner { Minimum = 0; Maximum = 255; SmallIncrement = 1; +} +HSVSpinner { + Minimum = 0; + Maximum = 1; + SmallIncrement = 0.01; } \ No newline at end of file diff --git a/Templates/ColorPicker.template b/Templates/ColorPicker.template index c4fecf76..00f70544 100755 --- a/Templates/ColorPicker.template +++ b/Templates/ColorPicker.template @@ -28,6 +28,18 @@