summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_summary.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-06-15 17:37:44 +0000
committerCarl Hetherington <carl@carlh.net>2010-06-15 17:37:44 +0000
commite1a63db0db053c6e799d530d28dbd9b90f736756 (patch)
tree30b366e4c6019450f474c94b16cc97610c4db5a0 /gtk2_ardour/editor_summary.h
parent1f829f45ef1503126a01e2c16b6c9032f5f17d1c (diff)
Plot tracks at a constant height in the summary.
git-svn-id: svn://localhost/ardour2/branches/3.0@7258 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_summary.h')
-rw-r--r--gtk2_ardour/editor_summary.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_summary.h b/gtk2_ardour/editor_summary.h
index 369a72fc28..fa72b929b7 100644
--- a/gtk2_ardour/editor_summary.h
+++ b/gtk2_ardour/editor_summary.h
@@ -53,8 +53,9 @@ private:
void render (cairo_t *);
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 set_editor (std::pair<double, double> const &, double);
void playhead_position_changed (nframes64_t);
+ double summary_y_to_editor (double) const;
nframes_t _start; ///< start frame of the overview
nframes_t _end; ///< end frame of the overview
@@ -63,7 +64,7 @@ private:
double _overhang_fraction;
double _x_scale; ///< pixels per frame for the x axis of the pixmap
- double _y_scale;
+ double _track_height;
double _last_playhead;
std::pair<double, double> _start_editor_x;