diff options
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; |