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
This commit is contained in:
Carl Hetherington 2011-11-01 12:19:11 +00:00
parent 5173497c6d
commit a12820ab77
4 changed files with 97 additions and 16 deletions

View file

@ -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;