Split route group list out of Editor.

git-svn-id: svn://localhost/ardour2/branches/3.0@5308 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2009-07-03 18:37:15 +00:00
parent 6e614ae3bf
commit b233455b3f
22 changed files with 980 additions and 885 deletions

View file

@ -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;