summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_summary.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-09-14 13:57:20 +0000
committerCarl Hetherington <carl@carlh.net>2011-09-14 13:57:20 +0000
commit74796c7a531d71f29c9e603fe33998f19cb96622 (patch)
treed232ad02017f0bb3b48287fbc3c6e7ef70875122 /gtk2_ardour/editor_summary.h
parentaadc91d7d1e12bb5de406ff3ce8b504579abd210 (diff)
Clamp left hand side zoom drags of the summary (fixes
#4317). git-svn-id: svn://localhost/ardour2/branches/3.0@10075 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_summary.h')
-rw-r--r--gtk2_ardour/editor_summary.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/editor_summary.h b/gtk2_ardour/editor_summary.h
index 3085f70c49..b465709100 100644
--- a/gtk2_ardour/editor_summary.h
+++ b/gtk2_ardour/editor_summary.h
@@ -70,12 +70,12 @@ private:
void render_region (RegionView*, cairo_t*, double) const;
void get_editor (std::pair<double, double> *, std::pair<double, double> *) const;
void set_editor (double, double);
- void set_editor (std::pair<double, double> const &, double);
- void set_editor (std::pair<double, double> const &, std::pair<double, double> const &);
+ void set_editor (std::pair<double, double>, double);
+ void set_editor (std::pair<double, double>, std::pair<double, double>);
void set_editor_x (double);
- void set_editor_x (std::pair<double, double> const &);
+ void set_editor_x (std::pair<double, double>);
void set_editor_y (double);
- void set_editor_y (std::pair<double, double> const &);
+ void set_editor_y (std::pair<double, double>);
void playhead_position_changed (framepos_t);
double summary_y_to_editor (double) const;
double editor_y_to_summary (double) const;