diff options
author | Carl Hetherington <carl@carlh.net> | 2009-07-03 18:37:15 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-07-03 18:37:15 +0000 |
commit | b233455b3fd00789e4f8a951f9fe205de92f94e2 (patch) | |
tree | 016011049c624b36944dcf8f11b1d770aff52acd /gtk2_ardour/editor_summary.h | |
parent | 6e614ae3bfecf157149e651e49b92dc04cf4cda6 (diff) |
Split route group list out of Editor.
git-svn-id: svn://localhost/ardour2/branches/3.0@5308 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_summary.h')
-rw-r--r-- | gtk2_ardour/editor_summary.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk2_ardour/editor_summary.h b/gtk2_ardour/editor_summary.h index 1d68e3b793..96d20fffa6 100644 --- a/gtk2_ardour/editor_summary.h +++ b/gtk2_ardour/editor_summary.h @@ -21,6 +21,7 @@ #define __gtk_ardour_editor_summary_h__ #include "cairo_widget.h" +#include "editor_component.h" namespace ARDOUR { class Session; @@ -31,12 +32,12 @@ 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 +class EditorSummary : public CairoWidget, public EditorComponent { public: EditorSummary (Editor *); - void set_session (ARDOUR::Session *); + void connect_to_session (ARDOUR::Session *); void set_overlays_dirty (); private: @@ -54,8 +55,6 @@ private: void set_editor (std::pair<double, double> const &, std::pair<double, double> const &); void playhead_position_changed (nframes64_t); - Editor* _editor; ///< our editor - ARDOUR::Session* _session; ///< our session double _x_scale; ///< pixels per frame for the x axis of the pixmap double _y_scale; double _last_playhead; |