|
Ardour
9.0-pre0-1969-g876ed98dbe
|
#include <editor_drag.h>
Public Member Functions | |
| DragManager (EditingContext *e) | |
| ~DragManager () | |
| bool | motion_handler (GdkEvent *, bool) |
| bool | mid_drag_key_event (GdkEventKey *) |
| void | abort () |
| void | add (Drag *) |
| void | set (Drag *, GdkEvent *, Gdk::Cursor *c=MouseCursors::invalid_cursor()) |
| void | start_grab (GdkEvent *, Gdk::Cursor *c=MouseCursors::invalid_cursor()) |
| bool | end_grab (GdkEvent *) |
| bool | have_item (ArdourCanvas::Item *) const |
| void | mark_double_click () |
| bool | ending () const |
| bool | active () const |
| double | current_pointer_x () const |
| double | current_pointer_y () const |
| ARDOUR::samplepos_t | current_pointer_sample () const |
| Temporal::timepos_t | current_pointer_time () const |
| bool | preview_video () const |
Private Attributes | |
| EditingContext * | _editing_context |
| std::list< Drag * > | _drags |
| bool | _ending |
| true if end_grab or abort is in progress, otherwise false More... | |
| double | _current_pointer_x |
| canvas-coordinate space x of the current pointer More... | |
| double | _current_pointer_y |
| canvas-coordinate space y of the current pointer More... | |
| Temporal::timepos_t | _current_pointer_time |
| time that the pointer is now at More... | |
| bool | _old_follow_playhead |
| state of Editor::follow_playhead() before the drags started More... | |
Class to manage current drags
Definition at line 93 of file editor_drag.h.
| DragManager::DragManager | ( | EditingContext * | e | ) |
| DragManager::~DragManager | ( | ) |
| void DragManager::abort | ( | ) |
|
inline |
Definition at line 116 of file editor_drag.h.
| void DragManager::add | ( | Drag * | ) |
|
inline |
Definition at line 131 of file editor_drag.h.
|
inline |
Definition at line 136 of file editor_drag.h.
|
inline |
Definition at line 121 of file editor_drag.h.
|
inline |
Definition at line 126 of file editor_drag.h.
| bool DragManager::end_grab | ( | GdkEvent * | ) |
|
inline |
Definition at line 112 of file editor_drag.h.
| bool DragManager::have_item | ( | ArdourCanvas::Item * | ) | const |
| void DragManager::mark_double_click | ( | ) |
| bool DragManager::mid_drag_key_event | ( | GdkEventKey * | ) |
| bool DragManager::motion_handler | ( | GdkEvent * | , |
| bool | |||
| ) |
| bool DragManager::preview_video | ( | ) | const |
return drag-motion displays video-frame of drag-location
| void DragManager::set | ( | Drag * | , |
| GdkEvent * | , | ||
| Gdk::Cursor * | c = MouseCursors::invalid_cursor() |
||
| ) |
| void DragManager::start_grab | ( | GdkEvent * | , |
| Gdk::Cursor * | c = MouseCursors::invalid_cursor() |
||
| ) |
|
private |
time that the pointer is now at
Definition at line 149 of file editor_drag.h.
|
private |
canvas-coordinate space x of the current pointer
Definition at line 147 of file editor_drag.h.
|
private |
canvas-coordinate space y of the current pointer
Definition at line 148 of file editor_drag.h.
|
private |
Definition at line 145 of file editor_drag.h.
|
private |
Definition at line 144 of file editor_drag.h.
|
private |
true if end_grab or abort is in progress, otherwise false
Definition at line 146 of file editor_drag.h.
|
private |
state of Editor::follow_playhead() before the drags started
Definition at line 150 of file editor_drag.h.