diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-11-30 16:40:05 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-11-30 16:40:05 +0000 |
commit | 9bf55b26e808c6f1f13068e43bf17fcc60b44561 (patch) | |
tree | 645c41ced2970de67f5c82300ce4e97c51528e04 /gtk2_ardour/route_ui.h | |
parent | 96ae97ddcb743cde5876b38446d2d0dbf9fb2f73 (diff) |
fix phase invert button functionality, lost in switch to ArdourButton
git-svn-id: svn://localhost/ardour2/branches/3.0@10842 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_ui.h')
-rw-r--r-- | gtk2_ardour/route_ui.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/route_ui.h b/gtk2_ardour/route_ui.h index 9420e4aa59..0501c78937 100644 --- a/gtk2_ardour/route_ui.h +++ b/gtk2_ardour/route_ui.h @@ -271,12 +271,12 @@ class RouteUI : public virtual AxisView void setup_invert_buttons (); void set_invert_button_state (); - void invert_toggled (uint32_t, ArdourButton *); void invert_menu_toggled (uint32_t); bool invert_press (GdkEventButton *); + bool invert_release (GdkEventButton *, uint32_t i); int _i_am_the_modifier; - std::list<ArdourButton*> _invert_buttons; + std::vector<ArdourButton*> _invert_buttons; Gtk::Menu* _invert_menu; static void set_showing_sends_to (boost::shared_ptr<ARDOUR::Route>); |