mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
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:
parent
131a16d96d
commit
ea5827b51c
2 changed files with 102 additions and 20 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue