summaryrefslogtreecommitdiff
path: root/gtk2_ardour/monitor_section.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-03-12 00:19:46 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-03-12 00:19:46 +0000
commite10f59f96c429a88419a7caddfeaff75a8b19df4 (patch)
tree57f8cf6b8af6ee55e99ae939e3e364912b56166d /gtk2_ardour/monitor_section.h
parentc5dab0e2a8df77725f34f53462a4f08d7b581e57 (diff)
map most (all?) monitor processor state into/onto monitor section GUI
git-svn-id: svn://localhost/ardour2/branches/3.0@6749 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/monitor_section.h')
-rw-r--r--gtk2_ardour/monitor_section.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/gtk2_ardour/monitor_section.h b/gtk2_ardour/monitor_section.h
index 87b619e7d0..0a8909def8 100644
--- a/gtk2_ardour/monitor_section.h
+++ b/gtk2_ardour/monitor_section.h
@@ -53,6 +53,18 @@ class MonitorSection : public RouteUI
LevelMeter meter;
Gtkmm2ext::TearOff* _tearoff;
+ struct ChannelButtonSet {
+ BindableToggleButton cut;
+ BindableToggleButton dim;
+ BindableToggleButton solo;
+ BindableToggleButton invert;
+
+ ChannelButtonSet ();
+ };
+
+ typedef std::vector<ChannelButtonSet*> ChannelButtons;
+ ChannelButtons _channel_buttons;
+
Gtk::Adjustment gain_adjustment;
VolumeController* gain_control;
Gtk::Adjustment dim_adjustment;
@@ -104,6 +116,4 @@ class MonitorSection : public RouteUI
void solo_blink (bool);
bool cancel_solo (GdkEventButton*);
-
- bool tearoff_key_press_event (GdkEventKey*);
};