From 74f313dd6b52c5bd36536d90e7b9e62b0679087b Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Fri, 22 Aug 2014 11:45:34 -0500 Subject: 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. --- gtk2_ardour/mixer_strip.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gtk2_ardour/mixer_strip.h') diff --git a/gtk2_ardour/mixer_strip.h b/gtk2_ardour/mixer_strip.h index 464a49da63..bd3c3a289b 100644 --- a/gtk2_ardour/mixer_strip.h +++ b/gtk2_ardour/mixer_strip.h @@ -205,7 +205,10 @@ class MixerStrip : public RouteUI, public Gtk::EventBox RouteGroupMenu *group_menu; gint input_press (GdkEventButton *); + gint input_release (GdkEventButton *); + gint output_press (GdkEventButton *); + gint output_release (GdkEventButton *); Gtk::Menu input_menu; std::list > input_menu_bundles; @@ -242,6 +245,7 @@ class MixerStrip : public RouteUI, public Gtk::EventBox Gtk::Menu* route_ops_menu; void build_route_ops_menu (); gboolean name_button_button_press (GdkEventButton*); + gboolean name_button_button_release (GdkEventButton*); gboolean number_button_button_press (GdkEventButton*); void list_route_operations (); -- cgit v1.2.3