summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_time_axis.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-02-10 18:16:25 +0000
committerDavid Robillard <d@drobilla.net>2008-02-10 18:16:25 +0000
commit1b657585572298d1a69a7b43e611f59b7e185df3 (patch)
tree5b0ca4e1f222357499f97165a13308ac070c5ddc /gtk2_ardour/route_time_axis.h
parente76b028ffdf054775cb697174d00cd0222d675c6 (diff)
Committed underlay support (from Audun).
git-svn-id: svn://localhost/ardour2/branches/3.0@3037 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_time_axis.h')
-rw-r--r--gtk2_ardour/route_time_axis.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/gtk2_ardour/route_time_axis.h b/gtk2_ardour/route_time_axis.h
index 294a0e73ff..6978524246 100644
--- a/gtk2_ardour/route_time_axis.h
+++ b/gtk2_ardour/route_time_axis.h
@@ -98,6 +98,10 @@ public:
void clear_playlist ();
void build_playlist_menu (Gtk::Menu *);
+
+ void add_underlay (StreamView*, bool update_xml = true);
+ void remove_underlay (StreamView*);
+ void build_underlay_menu(Gtk::Menu*);
/* This is a bit nasty to expose :/ */
struct RouteAutomationNode {
@@ -239,8 +243,7 @@ protected:
void color_handler ();
void region_view_added (RegionView*);
- void add_ghost_to_processor (RegionView*, boost::shared_ptr<AutomationTimeAxisView>);
-
+
StreamView* _view;
ArdourCanvas::Canvas& parent_canvas;
bool no_redraw;
@@ -296,6 +299,14 @@ protected:
XMLNode* get_automation_child_xml_node (ARDOUR::Parameter param);
LevelMeter lm;
+
+ XMLNode* underlay_xml_node;
+ bool set_underlay_state();
+
+ typedef list<StreamView*> UnderlayList;
+ UnderlayList _underlay_streams;
+ typedef list<RouteTimeAxisView*> UnderlayMirrorList;
+ UnderlayMirrorList _underlay_mirrors;
};
#endif /* __ardour_route_time_axis_h__ */