#include <editor_drag.h>
|
| NoteCreateDrag (Editor *, ArdourCanvas::Item *, MidiRegionView *) |
|
| ~NoteCreateDrag () |
|
void | start_grab (GdkEvent *, Gdk::Cursor *c=0) |
|
void | motion (GdkEvent *, bool) |
|
void | finished (GdkEvent *, bool) |
|
void | aborted (bool) |
|
bool | active (Editing::MouseMode mode) |
|
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 std::pair
< ARDOUR::framecnt_t, int > | move_threshold () const |
|
virtual bool | allow_vertical_autoscroll () const |
|
virtual bool | x_movement_matters () const |
|
bool | initially_vertical () const |
|
virtual void | setup_pointer_frame_offset () |
|
Definition at line 532 of file editor_drag.h.
NoteCreateDrag::~NoteCreateDrag |
( |
| ) |
|
void NoteCreateDrag::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 5777 of file editor_drag.cc.
- Parameters
-
- Returns
- true if this drag should happen in this mouse mode.
Reimplemented from Drag.
Definition at line 543 of file editor_drag.h.
void NoteCreateDrag::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 5746 of file editor_drag.cc.
void NoteCreateDrag::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 5736 of file editor_drag.cc.
void NoteCreateDrag::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 5706 of file editor_drag.cc.
bool NoteCreateDrag::y_movement_matters |
( |
| ) |
const |
|
inlinevirtual |
- Returns
- true if y movement matters to this drag
Reimplemented from Drag.
Definition at line 547 of file editor_drag.h.
double NoteCreateDrag::y_to_region |
( |
double |
y | ) |
const |
|
private |
ArdourCanvas::Rectangle* NoteCreateDrag::_drag_rect |
|
private |
The documentation for this class was generated from the following files: