summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_summary.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/editor_summary.h')
-rw-r--r--gtk2_ardour/editor_summary.h8
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;