diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-05-21 12:31:05 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-05-21 12:31:05 +0000 |
commit | a796853f9991a4e85afee7ca8724e7fb502457a0 (patch) | |
tree | 33412dd09583499a8d52b6ce50e753d4b1e30c27 /gtk2_ardour/ardour_button.h | |
parent | c7e9102437c6c10b0c45696ef9f0b0f03fd787b1 (diff) |
introduce flat button option,which right now is on all the time. GUI nit-pickers, do your best
git-svn-id: svn://localhost/ardour2/branches/3.0@12358 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_button.h')
-rw-r--r-- | gtk2_ardour/ardour_button.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_button.h b/gtk2_ardour/ardour_button.h index a2c65006ff..94b3c6d399 100644 --- a/gtk2_ardour/ardour_button.h +++ b/gtk2_ardour/ardour_button.h @@ -44,6 +44,9 @@ class ArdourButton : public CairoWidget , public Gtkmm2ext::Activatable static Element led_default_elements; static Element just_led_default_elements; + static void set_flat_buttons (bool yn); + static bool flat_buttons() { return _flat_buttons; } + ArdourButton (Element e = default_elements); ArdourButton (const std::string&, Element e = default_elements); virtual ~ArdourButton (); @@ -142,6 +145,8 @@ class ArdourButton : public CairoWidget , public Gtkmm2ext::Activatable bool _distinct_led_click; bool _hovering; + static bool _flat_buttons; + void setup_led_rect (); void set_colors (); void color_handler (); |