summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_summary.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-01-08 02:35:35 +0000
committerCarl Hetherington <carl@carlh.net>2011-01-08 02:35:35 +0000
commit150d3fdfbfeabde96d528312aa22e839a5aa5f3e (patch)
treeaf137578c215731e6991a619409787560858fdec /gtk2_ardour/editor_summary.h
parent41264273ec2a88599263c2506f7b886813472380 (diff)
Watch for route colour changes and update the summary accordingly. Fixes #3692.
git-svn-id: svn://localhost/ardour2/branches/3.0@8480 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_summary.h')
-rw-r--r--gtk2_ardour/editor_summary.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_summary.h b/gtk2_ardour/editor_summary.h
index 86f2e79390..823a0ca6a8 100644
--- a/gtk2_ardour/editor_summary.h
+++ b/gtk2_ardour/editor_summary.h
@@ -1,4 +1,3 @@
-
/*
Copyright (C) 2009 Paul Davis
@@ -33,13 +32,14 @@ class Editor;
/** Class to provide a visual summary of the contents of an editor window; represents
* the whole session as a set of lines, one per region view.
*/
-class EditorSummary : public CairoWidget, public EditorComponent, public ARDOUR::SessionHandlePtr
+class EditorSummary : public CairoWidget, public EditorComponent, public ARDOUR::SessionHandlePtr, public PBD::ScopedConnectionList
{
public:
EditorSummary (Editor *);
void set_session (ARDOUR::Session *);
void set_overlays_dirty ();
+ void routes_added (std::list<RouteTimeAxisView*> const &);
private:
@@ -79,6 +79,7 @@ private:
double editor_y_to_summary (double) const;
Position get_position (double, double) const;
void set_cursor (Position);
+ void route_gui_changed (std::string);
framepos_t _start; ///< start frame of the overview
framepos_t _end; ///< end frame of the overview