summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_button.h
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2014-08-27 10:55:01 -0500
committerBen Loftis <ben@harrisonconsoles.com>2014-08-27 10:55:01 -0500
commite7a15027e8358fdd5f3806416e9757f56d178736 (patch)
treef1de310352f062dcec2d4ed69a4c75a13450e7c9 /gtk2_ardour/ardour_button.h
parent5db98d9372e44d9bb68932ebd369cad271b4b991 (diff)
refactor flat_buttons into cairowidget, and add a canvas-like convenience function for setting cairo color with a Gtk::Color
Diffstat (limited to 'gtk2_ardour/ardour_button.h')
-rw-r--r--gtk2_ardour/ardour_button.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gtk2_ardour/ardour_button.h b/gtk2_ardour/ardour_button.h
index d36445d181..bb0cbfed1e 100644
--- a/gtk2_ardour/ardour_button.h
+++ b/gtk2_ardour/ardour_button.h
@@ -45,9 +45,6 @@ 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 ();
@@ -157,8 +154,6 @@ class ArdourButton : public CairoWidget , public Gtkmm2ext::Activatable
bool _focused;
bool _fixed_colors_set;
- static bool _flat_buttons;
-
void setup_led_rect ();
void set_colors ();
void color_handler ();