diff options
author | Robin Gareus <robin@gareus.org> | 2017-03-11 02:23:34 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-03-11 02:23:34 +0100 |
commit | 0a87fbe820385308fea2857e3caf434d64508bf0 (patch) | |
tree | 088e8dc52872a8733643621ae8d02f593f2004ed /gtk2_ardour/stripable_colorpicker.h | |
parent | d0fc7d37ab74cc90ed42d021864c4f3ee4cc7088 (diff) |
Allow to customize color-picker-palette
Diffstat (limited to 'gtk2_ardour/stripable_colorpicker.h')
-rw-r--r-- | gtk2_ardour/stripable_colorpicker.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/stripable_colorpicker.h b/gtk2_ardour/stripable_colorpicker.h index 79b7ffcf62..d05d67e974 100644 --- a/gtk2_ardour/stripable_colorpicker.h +++ b/gtk2_ardour/stripable_colorpicker.h @@ -32,9 +32,15 @@ public: void popup (boost::shared_ptr<ARDOUR::Stripable> s); private: + void initialize_color_palette (); void finish_color_edit (int response); boost::shared_ptr<ARDOUR::Stripable> _stripable; + + + static bool palette_initialized; + static void palette_changed_hook (const Glib::RefPtr<Gdk::Screen>&, const Gdk::ArrayHandle_Color&); + static Gtk::ColorSelection::SlotChangePaletteHook gtk_palette_changed_hook; }; #endif |