diff options
author | Carl Hetherington <carl@carlh.net> | 2009-07-04 13:44:01 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-07-04 13:44:01 +0000 |
commit | 40b0b216de9df7a23cd2bbc7e257833db40cc877 (patch) | |
tree | 031a23cf89099ee11e9711b5239defe7860302e1 /gtk2_ardour/editor_routes.h | |
parent | 36564e4f910bc31fa23a6e73da8440f6ad78a2fc (diff) |
Add option to collect a route group, so that its member routes are reordered to be together in the editor. A few cleanups along the way.
git-svn-id: svn://localhost/ardour2/branches/3.0@5319 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_routes.h')
-rw-r--r-- | gtk2_ardour/editor_routes.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_routes.h b/gtk2_ardour/editor_routes.h index f416f8f195..a075902dee 100644 --- a/gtk2_ardour/editor_routes.h +++ b/gtk2_ardour/editor_routes.h @@ -22,12 +22,13 @@ class EditorRoutes : public EditorComponent public: EditorRoutes (Editor *); + void connect_to_session (ARDOUR::Session *); + Gtk::Widget& widget () { return _scroller; } void move_selected_tracks (bool); - void initial_display (); void show_track_in_display (TimeAxisView &); void suspend_redisplay () { _no_redisplay = true; @@ -43,9 +44,11 @@ public: std::list<TimeAxisView*> views () const; void hide_all_tracks (bool); void clear (); + void sync_order_keys (std::string const &); private: + void initial_display (); void on_tv_rec_enable_toggled (Glib::ustring const &); void build_menu (); void show_menu (); @@ -54,7 +57,6 @@ private: void reordered (Gtk::TreeModel::Path const &, Gtk::TreeModel::iterator const &, int *); bool button_press (GdkEventButton *); void route_name_changed (boost::weak_ptr<ARDOUR::Route>); - void sync_order_keys (std::string const &); void route_removed (TimeAxisView *); void handle_gui_changes (std::string const &, void *); void update_rec_display (); |