|
Ardour
9.0-18-g01809b426c
|
#include <editor_drag.h>
Public Types | |
| enum | Operation { CreateSkipMarker , CreateRangeMarker , CreateTransportMarker , CreateCDMarker } |
Public Types inherited from Drag | |
| typedef std::pair< int, int > | MoveThreshold |
Private Member Functions | |
| void | update_item (ARDOUR::Location *) |
Private Attributes | |
| Operation | _operation |
| ArdourCanvas::Rectangle * | _drag_rect |
Range marker drag
Definition at line 1422 of file editor_drag.h.
| Enumerator | |
|---|---|
| CreateSkipMarker | |
| CreateRangeMarker | |
| CreateTransportMarker | |
| CreateCDMarker | |
Definition at line 1425 of file editor_drag.h.
| RangeMarkerBarDrag::RangeMarkerBarDrag | ( | Editor & | , |
| ArdourCanvas::Item * | , | ||
| Operation | |||
| ) |
| RangeMarkerBarDrag::~RangeMarkerBarDrag | ( | ) |
|
virtual |
Called to abort a drag and return things to how they were before it started.
| m | true if some movement occurred, otherwise false. |
Implements Drag.
|
inlinevirtual |
Reimplemented from Drag.
Definition at line 1440 of file editor_drag.h.
|
virtual |
Called when a drag has finished.
| e | Event describing the finish. |
| m | true if some movement occurred, otherwise false. |
Implements Drag.
|
virtual |
Called when a drag motion has occurred.
| e | Event describing the motion. |
| f | true if this is the first movement, otherwise false. |
Implements Drag.
|
virtual |
Called to start a grab of an item.
| e | Event that caused the grab to start. |
| c | Cursor to use, or 0. |
Reimplemented from Drag.
|
private |
|
inlinevirtual |
Reimplemented from Drag.
Definition at line 1444 of file editor_drag.h.
|
private |
Definition at line 1452 of file editor_drag.h.
|
private |
Definition at line 1451 of file editor_drag.h.