From da8eff0ec26ab81c0494bcad3372c0c7cc7296ea Mon Sep 17 00:00:00 2001 From: David Capello Date: Thu, 6 Aug 2015 11:23:16 -0300 Subject: [PATCH] Add a basic RGB color wheel (related to #707) --- data/gui.xml | 7 + data/pref.xml | 2 + src/app/CMakeLists.txt | 2 + src/app/commands/cmd_set_color_selector.cpp | 68 ++++++ src/app/commands/commands_list.h | 1 + src/app/pref/preferences.h | 1 + src/app/ui/color_bar.cpp | 71 +++++-- src/app/ui/color_bar.h | 19 ++ src/app/ui/color_spectrum.cpp | 7 +- src/app/ui/color_wheel.cpp | 223 ++++++++++++++++++++ src/app/ui/color_wheel.h | 49 +++++ 11 files changed, 435 insertions(+), 15 deletions(-) create mode 100644 src/app/commands/cmd_set_color_selector.cpp create mode 100644 src/app/ui/color_wheel.cpp create mode 100644 src/app/ui/color_wheel.h diff --git a/data/gui.xml b/data/gui.xml index 911a40911..ea7f9f409 100644 --- a/data/gui.xml +++ b/data/gui.xml @@ -767,6 +767,13 @@ + + + + + + + diff --git a/data/pref.xml b/data/pref.xml index 1025159b6..644597e86 100644 --- a/data/pref.xml +++ b/data/pref.xml @@ -103,6 +103,8 @@