summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_ui.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-11-02 16:46:49 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-11-02 16:46:49 +0000
commit592bfa3616678838bb80b925d66fbadae2d20d7e (patch)
tree80b9db7307f325c2118964a8d8334d8b3c70687f /gtk2_ardour/route_ui.h
parent36803567f0ad2c385f3259856a282b5ce3b4e0e2 (diff)
mute and send-alert buttons are now ArdourButtons
git-svn-id: svn://localhost/ardour2/branches/3.0@10397 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_ui.h')
-rw-r--r--gtk2_ardour/route_ui.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/gtk2_ardour/route_ui.h b/gtk2_ardour/route_ui.h
index e9d81451f6..6601bb7d5d 100644
--- a/gtk2_ardour/route_ui.h
+++ b/gtk2_ardour/route_ui.h
@@ -25,6 +25,8 @@
#include "pbd/xml++.h"
#include "pbd/signals.h"
+#include "gtkmm2ext/widget_state.h"
+
#include "ardour/ardour.h"
#include "ardour/mute_master.h"
#include "ardour/session_event.h"
@@ -90,10 +92,10 @@ class RouteUI : public virtual AxisView
bool multiple_solo_change;
Gtk::HBox _invert_button_box;
- BindableToggleButton* mute_button;
+ ArdourButton* mute_button;
BindableToggleButton* solo_button;
BindableToggleButton* rec_enable_button; /* audio tracks */
- BindableToggleButton* show_sends_button; /* busses */
+ ArdourButton* show_sends_button; /* busses */
ArdourButton* monitor_input_button;
ArdourButton* monitor_disk_button;
@@ -103,7 +105,6 @@ class RouteUI : public virtual AxisView
ArdourButton* solo_isolated_led;
Gtk::Label solo_button_label;
- Gtk::Label mute_button_label;
Gtk::Label rec_enable_button_label;
Gtk::Label monitor_input_button_label;
Gtk::Label monitor_disk_button_label;
@@ -222,7 +223,7 @@ class RouteUI : public virtual AxisView
static int solo_visual_state_with_isolate (boost::shared_ptr<ARDOUR::Route>);
static int solo_isolate_visual_state (boost::shared_ptr<ARDOUR::Route>);
static int solo_safe_visual_state (boost::shared_ptr<ARDOUR::Route>);
- static int mute_visual_state (ARDOUR::Session*, boost::shared_ptr<ARDOUR::Route>);
+ static Gtkmm2ext::ActiveState mute_active_state (ARDOUR::Session*, boost::shared_ptr<ARDOUR::Route>);
protected:
PBD::ScopedConnectionList route_connections;