diff options
author | Carl Hetherington <carl@carlh.net> | 2009-11-25 13:44:57 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-11-25 13:44:57 +0000 |
commit | 40c46557939dbba2d08cf9c4721756476c1380b1 (patch) | |
tree | c11eaaba49f60824d6faaf0e9873a717ae8c7e10 /gtk2_ardour/editor_summary.h | |
parent | 1c5d13938a9c6cae7041b1c2b70b63f82252d3d9 (diff) |
Make the editor summary extend a little way beyond the start and end markers for the session. Fix up some small problems.
git-svn-id: svn://localhost/ardour2/branches/3.0@6170 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_summary.h')
-rw-r--r-- | gtk2_ardour/editor_summary.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_summary.h b/gtk2_ardour/editor_summary.h index 9cc4b12e0d..e52e24cd99 100644 --- a/gtk2_ardour/editor_summary.h +++ b/gtk2_ardour/editor_summary.h @@ -50,11 +50,17 @@ private: void centre_on_click (GdkEventButton *); void render (cairo_t *); - void render_region (RegionView*, cairo_t*, nframes_t, double) const; + void render_region (RegionView*, cairo_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); + nframes_t _start; ///< start frame of the overview + nframes_t _end; ///< end frame of the overview + + /** fraction of the session length by which the overview size should extend past the start and end markers */ + double _overhang_fraction; + double _x_scale; ///< pixels per frame for the x axis of the pixmap double _y_scale; double _last_playhead; |