#include <editor_drag.h>
|
| CursorDrag (Editor *, EditorCursor &, bool) |
|
void | start_grab (GdkEvent *, Gdk::Cursor *c=0) |
|
void | motion (GdkEvent *, bool) |
|
void | finished (GdkEvent *, bool) |
|
void | aborted (bool) |
|
bool | allow_vertical_autoscroll () const |
|
bool | y_movement_matters () const |
|
| Drag (Editor *, ArdourCanvas::Item *, bool trackview_only=true) |
|
virtual | ~Drag () |
|
void | set_manager (DragManager *m) |
|
ArdourCanvas::Item * | item () const |
|
void | swap_grab (ArdourCanvas::Item *, Gdk::Cursor *, uint32_t) |
|
bool | motion_handler (GdkEvent *, bool) |
|
void | abort () |
|
ARDOUR::framepos_t | adjusted_frame (ARDOUR::framepos_t, GdkEvent const *, bool snap=true) const |
|
ARDOUR::framepos_t | adjusted_current_frame (GdkEvent const *, bool snap=true) const |
|
bool | was_double_click () const |
|
void | set_double_click (bool yn) |
|
virtual bool | end_grab (GdkEvent *) |
|
virtual bool | active (Editing::MouseMode m) |
|
virtual std::pair
< ARDOUR::framecnt_t, int > | move_threshold () const |
|
virtual bool | x_movement_matters () const |
|
bool | initially_vertical () const |
|
virtual void | setup_pointer_frame_offset () |
|
Drag of the playhead cursor
Definition at line 707 of file editor_drag.h.
void CursorDrag::aborted |
( |
bool |
m | ) |
|
|
virtual |
Called to abort a drag and return things to how they were before it started.
- Parameters
-
m | true if some movement occurred, otherwise false. |
Implements Drag.
Definition at line 3325 of file editor_drag.cc.
bool CursorDrag::allow_vertical_autoscroll |
( |
| ) |
const |
|
inlinevirtual |
Do all the things we do when dragging the playhead to make it look as though we have located, without actually doing the locate (because that would cause the diskstream buffers to be refilled, which is too slow).
Definition at line 3225 of file editor_drag.cc.
void CursorDrag::finished |
( |
GdkEvent * |
e, |
|
|
bool |
m |
|
) |
| |
|
virtual |
Called when a drag has finished.
- Parameters
-
e | Event describing the finish. |
m | true if some movement occurred, otherwise false. |
Implements Drag.
Definition at line 3304 of file editor_drag.cc.
void CursorDrag::motion |
( |
GdkEvent * |
e, |
|
|
bool |
f |
|
) |
| |
|
virtual |
Called when a drag motion has occurred.
- Parameters
-
e | Event describing the motion. |
f | true if this is the first movement, otherwise false. |
Implements Drag.
Definition at line 3295 of file editor_drag.cc.
void CursorDrag::start_grab |
( |
GdkEvent * |
e, |
|
|
Gdk::Cursor * |
c = 0 |
|
) |
| |
|
virtual |
Called to start a grab of an item.
- Parameters
-
e | Event that caused the grab to start. |
c | Cursor to use, or 0. |
Reimplemented from Drag.
Definition at line 3247 of file editor_drag.cc.
bool CursorDrag::y_movement_matters |
( |
| ) |
const |
|
inlinevirtual |
- Returns
- true if y movement matters to this drag
Reimplemented from Drag.
Definition at line 721 of file editor_drag.h.
double CursorDrag::_grab_zoom |
|
private |
editor frames per unit when our grab started
Definition at line 730 of file editor_drag.h.
true to stop the transport on starting the drag, otherwise false
Definition at line 729 of file editor_drag.h.
The documentation for this class was generated from the following files: