Revert to fader-is-for-route on double-clicking a mixer strip's fader. Fixes #3685.

git-svn-id: svn://localhost/ardour2/branches/3.0@8496 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-01-10 23:33:26 +00:00
parent ed72df29b7
commit c482638aa6
4 changed files with 29 additions and 14 deletions

View file

@ -155,8 +155,8 @@ class GainMeterBase : virtual public sigc::trackable, ARDOUR::SessionHandlePtr
Gtk::Menu* meter_menu;
void popup_meter_menu (GdkEventButton*);
gint start_gain_touch (GdkEventButton*);
gint end_gain_touch (GdkEventButton*);
bool gain_slider_button_press (GdkEventButton *);
bool gain_slider_button_release (GdkEventButton *);
void set_route_group_meter_point (ARDOUR::Route&, ARDOUR::MeterPoint);
void set_meter_point (ARDOUR::Route&, ARDOUR::MeterPoint);
@ -170,6 +170,9 @@ class GainMeterBase : virtual public sigc::trackable, ARDOUR::SessionHandlePtr
void reset_peak_display ();
void reset_group_peak_display (ARDOUR::RouteGroup*);
/** Emitted when our slider is double-clicked */
PBD::Signal0<void> SliderDoubleClicked;
static sigc::signal<void> ResetAllPeakDisplays;
static sigc::signal<void,ARDOUR::RouteGroup*> ResetGroupPeakDisplays;