diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-05-17 02:08:13 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-05-17 02:08:13 +0000 |
commit | 7deb14773baf3ebf191c973665fc0c3069cc39fb (patch) | |
tree | bf07175a72ca8c9e97f812914b70e3a4b6843067 /gtk2_ardour/route_ui.h | |
parent | 091bd8a778491dc608d688a22ba1289b1ee5cf35 (diff) |
75% (?) of the way towards making mixer strips control bus sends. lots more to do
git-svn-id: svn://localhost/ardour2/branches/3.0@5090 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_ui.h')
-rw-r--r-- | gtk2_ardour/route_ui.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gtk2_ardour/route_ui.h b/gtk2_ardour/route_ui.h index 4ec6fd3ce8..5a1933997d 100644 --- a/gtk2_ardour/route_ui.h +++ b/gtk2_ardour/route_ui.h @@ -81,7 +81,8 @@ class RouteUI : public virtual AxisView BindableToggleButton* mute_button; BindableToggleButton* solo_button; - BindableToggleButton* rec_enable_button; + BindableToggleButton* rec_enable_button; /* audio tracks */ + BindableToggleButton* show_sends_button; /* busses */ virtual std::string solo_button_name () const { return "SoloButton"; } virtual std::string safe_solo_button_name () const { return "SafeSoloButton"; } @@ -89,6 +90,7 @@ class RouteUI : public virtual AxisView Gtk::Menu* mute_menu; Gtk::Menu* solo_menu; Gtk::Menu* remote_control_menu; + Gtk::Menu* sends_menu; XMLNode *xml_node; void ensure_xml_node (); @@ -101,6 +103,13 @@ class RouteUI : public virtual AxisView bool solo_release(GdkEventButton*); bool rec_enable_press(GdkEventButton*); bool rec_enable_release(GdkEventButton*); + bool show_sends_press(GdkEventButton*); + bool show_sends_release(GdkEventButton*); + + void build_sends_menu (); + void set_sends_gain_from_track (); + void set_sends_gain_to_zero (); + void set_sends_gain_to_unity (); void solo_changed(void*); void solo_changed_so_update_mute (); |