summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_routes.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-09-19 22:34:30 +0000
committerCarl Hetherington <carl@carlh.net>2011-09-19 22:34:30 +0000
commitce6d99ccb50350b5f25ae34009a245bd8e22ba4e (patch)
treee2bf28be03911ae5fe4ca5d63a8975a546f2bfa7 /gtk2_ardour/editor_routes.h
parent3f6ec53ba3f30d4dc8ceeb0b44752eec0d4a2d21 (diff)
Add active toggle to editor route list (#4236).
git-svn-id: svn://localhost/ardour2/branches/3.0@10098 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_routes.h')
-rw-r--r--gtk2_ardour/editor_routes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_routes.h b/gtk2_ardour/editor_routes.h
index 2ade937eff..3efde73288 100644
--- a/gtk2_ardour/editor_routes.h
+++ b/gtk2_ardour/editor_routes.h
@@ -69,6 +69,7 @@ private:
void show_menu ();
void route_deleted (Gtk::TreeModel::Path const &);
void visible_changed (std::string const &);
+ void active_changed (std::string const &);
void reordered (Gtk::TreeModel::Path const &, Gtk::TreeModel::iterator const &, int *);
bool button_press (GdkEventButton *);
void route_property_changed (const PBD::PropertyChange&, boost::weak_ptr<ARDOUR::Route>);
@@ -79,6 +80,7 @@ private:
void update_solo_isolate_display ();
void update_solo_safe_display ();
void update_input_active_display ();
+ void update_active_display ();
void set_all_tracks_visibility (bool);
void set_all_audio_midi_visibility (int, bool);
void show_all_routes ();
@@ -115,6 +117,7 @@ private:
add (name_editable);
add (is_input_active);
add (is_midi);
+ add (active);
}
Gtk::TreeModelColumn<std::string> text;
@@ -130,6 +133,7 @@ private:
Gtk::TreeModelColumn<bool> name_editable;
Gtk::TreeModelColumn<bool> is_input_active;
Gtk::TreeModelColumn<bool> is_midi;
+ Gtk::TreeModelColumn<bool> active;
};
Gtk::ScrolledWindow _scroller;
@@ -138,6 +142,7 @@ private:
ModelColumns _columns;
int _name_column;
int _visible_column;
+ int _active_column;
bool _ignore_reorder;
bool _no_redisplay;