mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
various work waveview amplitude mgmt; fix playhead cursor drag from timebar click
This commit is contained in:
parent
9727a23111
commit
ec102f94e1
13 changed files with 95 additions and 55 deletions
|
|
@ -626,7 +626,7 @@ private:
|
|||
class CursorDrag : public Drag
|
||||
{
|
||||
public:
|
||||
CursorDrag (Editor *, ArdourCanvas::Item *, bool);
|
||||
CursorDrag (Editor *, EditorCursor&, bool);
|
||||
|
||||
void start_grab (GdkEvent *, Gdk::Cursor* c = 0);
|
||||
void motion (GdkEvent *, bool);
|
||||
|
|
@ -648,6 +648,7 @@ public:
|
|||
private:
|
||||
void fake_locate (framepos_t);
|
||||
|
||||
EditorCursor& _cursor;
|
||||
bool _stop; ///< true to stop the transport on starting the drag, otherwise false
|
||||
double _grab_zoom; ///< editor frames per unit when our grab started
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue