diff options
author | Robin Gareus <robin@gareus.org> | 2015-01-28 02:22:52 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-01-28 02:22:52 +0100 |
commit | de85bfd857a302e6be6a7cdbffa8fe96a3c0e17b (patch) | |
tree | 13d750e32d5eee808d5889280982ae92640117a9 /libs/gtkmm2ext/gtkmm2ext/cairo_widget.h | |
parent | 36bbd14113e25038aa490d11c7c010fcaae324a0 (diff) |
fix #6117 - fader prelight
Diffstat (limited to 'libs/gtkmm2ext/gtkmm2ext/cairo_widget.h')
-rw-r--r-- | libs/gtkmm2ext/gtkmm2ext/cairo_widget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/gtkmm2ext/gtkmm2ext/cairo_widget.h b/libs/gtkmm2ext/gtkmm2ext/cairo_widget.h index 038198ab57..036160ab14 100644 --- a/libs/gtkmm2ext/gtkmm2ext/cairo_widget.h +++ b/libs/gtkmm2ext/gtkmm2ext/cairo_widget.h @@ -73,6 +73,9 @@ public: static void set_flat_buttons (bool yn); static bool flat_buttons() { return _flat_buttons; } + static void set_widget_prelight (bool yn); + static bool widget_prelight() { return _widget_prelight; } + static void set_source_rgb_a( cairo_t* cr, Gdk::Color, float a=1.0 ); /* set_focus_handler() will cause all button-press events on any @@ -112,6 +115,7 @@ protected: bool _need_bg; static bool _flat_buttons; + static bool _widget_prelight; bool _grabbed; static sigc::slot<void> focus_handler; |