Allow dragging of the horizontal extents of the summary view box using PrimaryModifier-drag.

git-svn-id: svn://localhost/ardour2/branches/3.0@5194 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2009-06-15 01:21:30 +00:00
parent 131a16d96d
commit ea5827b51c
2 changed files with 102 additions and 20 deletions

View file

@ -44,10 +44,25 @@ private:
int _height; ///< pixmap height
double _pixels_per_frame; ///< pixels per frame for the x axis of the pixmap
double _vertical_scale;
bool _dragging;
bool _move_dragging;
double _x_offset;
double _y_offset;
bool _moved;
bool _zoom_dragging;
double _mouse_x_start;
double _width_start;
double _zoom_start;
nframes64_t _frames_start;
enum ZoomPosition {
LEFT,
RIGHT,
NONE
};
ZoomPosition _zoom_position;
};
#endif