diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2014-08-22 11:45:34 -0500 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2014-08-22 11:51:20 -0500 |
commit | 74f313dd6b52c5bd36536d90e7b9e62b0679087b (patch) | |
tree | a25d093f1f85a3ab2850b9dc0a4a437d3736fef7 /gtk2_ardour/mixer_strip.h | |
parent | a7226133a990afa294339ffa735f9dee8eff97e4 (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/mixer_strip.h')
-rw-r--r-- | gtk2_ardour/mixer_strip.h | 4 |
1 files changed, 4 insertions, 0 deletions
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<boost::shared_ptr<ARDOUR::Bundle> > 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 (); |