summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_summary.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-06-17 00:29:56 +0000
committerCarl Hetherington <carl@carlh.net>2009-06-17 00:29:56 +0000
commit34930fc8cf6f5b552b7cc853b7ce008ea9fb1aaf (patch)
treefe67108f072bd120cd9cadff6c7fd5269e12dd6e /gtk2_ardour/editor_summary.h
parent6f6c8b3dba48a6fe37b8e318b7dd1150b1a28367 (diff)
Add a playhead marker to the summary.
git-svn-id: svn://localhost/ardour2/branches/3.0@5206 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_summary.h')
-rw-r--r--gtk2_ardour/editor_summary.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_summary.h b/gtk2_ardour/editor_summary.h
index bbff050117..1da6a3985f 100644
--- a/gtk2_ardour/editor_summary.h
+++ b/gtk2_ardour/editor_summary.h
@@ -39,7 +39,7 @@ public:
void set_session (ARDOUR::Session *);
void set_dirty ();
- void set_bounds_dirty ();
+ void set_overlays_dirty ();
private:
void centre_on_click (GdkEventButton *);
@@ -56,6 +56,7 @@ private:
void render_region (RegionView*, cairo_t*, nframes_t, double) const;
void get_editor (std::pair<double, double> *, std::pair<double, double> *) const;
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
@@ -65,6 +66,7 @@ private:
int _height; ///< pixmap height
double _x_scale; ///< pixels per frame for the x axis of the pixmap
double _y_scale;
+ double _last_playhead;
std::pair<double, double> _start_editor_x;
std::pair<double, double> _start_editor_y;