diff options
| author | Tomasz Boczkowski <penginsbacon@gmail.com> | 2014-05-30 11:28:00 +0000 |
|---|---|---|
| committer | Tomasz Boczkowski <penginsbacon@gmail.com> | 2014-05-30 11:28:00 +0000 |
| commit | e373a552e457bb9aec3a31cf7d3fd01ded3f330d (patch) | |
| tree | 369455c369f3115bd16d4f2308afc85b151597b0 /src/ui/selected-color.h | |
| parent | SPColorSelector c++-sification: added SelectedColor class (diff) | |
| download | inkscape-e373a552e457bb9aec3a31cf7d3fd01ded3f330d.tar.gz inkscape-e373a552e457bb9aec3a31cf7d3fd01ded3f330d.zip | |
SPColorSelector c++-sification: added ColorSelectorFactory
(bzr r13341.6.27)
Diffstat (limited to 'src/ui/selected-color.h')
| -rw-r--r-- | src/ui/selected-color.h | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/src/ui/selected-color.h b/src/ui/selected-color.h index f7f0d6ad0..db2f2f68c 100644 --- a/src/ui/selected-color.h +++ b/src/ui/selected-color.h @@ -14,10 +14,13 @@ #define SEEN_SELECTED_COLOR #include <sigc++/signal.h> +#include <gtkmm/widget.h> #include "color.h" -class SelectedColor -{ +namespace Inkscape { +namespace UI { + +class SelectedColor { public: SelectedColor(); virtual ~SelectedColor(); @@ -51,5 +54,18 @@ private: static double _epsilon; }; + +class ColorSelectorFactory { +public: + virtual ~ColorSelectorFactory() {} + + virtual Gtk::Widget* createWidget(SelectedColor& color) const = 0; + virtual Glib::ustring modeName() const = 0; +}; + + +} +} + #endif |
