summaryrefslogtreecommitdiff
path: root/gtk2_ardour/meter_strip.h
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2014-08-22 11:45:34 -0500
committerBen Loftis <ben@harrisonconsoles.com>2014-08-22 11:51:20 -0500
commit74f313dd6b52c5bd36536d90e7b9e62b0679087b (patch)
treea25d093f1f85a3ab2850b9dc0a4a437d3736fef7 /gtk2_ardour/meter_strip.h
parenta7226133a990afa294339ffa735f9dee8eff97e4 (diff)
Rationalize ArdourButton and lots of associated theming issues.
ArdourButtons now have a "pushed" animation. The gradient is now implemented in the button, rather than providing 2 colors in the theme, which was burdensome. Lots of code cleanup in ArdourButton. Removed several unnecessary flags. Refactor more stuff into route_ui.
Diffstat (limited to 'gtk2_ardour/meter_strip.h')
-rw-r--r--gtk2_ardour/meter_strip.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/meter_strip.h b/gtk2_ardour/meter_strip.h
index 0ccf21d60c..d8370b45f0 100644
--- a/gtk2_ardour/meter_strip.h
+++ b/gtk2_ardour/meter_strip.h
@@ -88,7 +88,7 @@ class MeterStrip : public Gtk::VBox, public RouteUI
void on_size_request (Gtk::Requisition*);
/* route UI */
- void update_rec_display ();
+ void blink_rec_display (bool onoff);
std::string state_id() const;
void set_button_names ();
@@ -142,6 +142,8 @@ class MeterStrip : public Gtk::VBox, public RouteUI
void update_button_box ();
void update_name_box ();
void name_changed ();
+
+ void route_color_changed ();
bool _suspend_menu_callbacks;
bool level_meter_button_release (GdkEventButton* ev);