diff options
author | Carl Hetherington <carl@carlh.net> | 2011-11-01 12:19:11 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-11-01 12:19:11 +0000 |
commit | a12820ab77c5a501b4685ac9e2f21ec916bffd8e (patch) | |
tree | 32cdc0694cc84bd7a346791d5c049c5b78df7d9e /gtk2_ardour/editor_summary.h | |
parent | 5173497c6d9b4bed0f64c1c3b4beab442a405849 (diff) |
Add an option to disable editor update during drags of the
summary (#4407).
git-svn-id: svn://localhost/ardour2/branches/3.0@10377 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_summary.h')
-rw-r--r-- | gtk2_ardour/editor_summary.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_summary.h b/gtk2_ardour/editor_summary.h index b465709100..4da49d6e11 100644 --- a/gtk2_ardour/editor_summary.h +++ b/gtk2_ardour/editor_summary.h @@ -82,6 +82,7 @@ private: Position get_position (double, double) const; void set_cursor (Position); void route_gui_changed (std::string); + bool suspending_editor_updates () const; framepos_t _start; ///< start frame of the overview framepos_t _end; ///< end frame of the overview @@ -105,6 +106,10 @@ private: std::pair<double, double> _view_rectangle_x; std::pair<double, double> _view_rectangle_y; + std::pair<double, double> _pending_editor_x; + std::pair<double, double> _pending_editor_y; + bool _pending_editor_changed; + bool _zoom_dragging; Position _zoom_position; |