#include <editor_drag.h>
|
| TrimDrag (Editor *, ArdourCanvas::Item *, RegionView *, std::list< RegionView * > const &, bool preserve_fade_anchor=false) |
|
void | start_grab (GdkEvent *, Gdk::Cursor *c=0) |
|
void | motion (GdkEvent *, bool) |
|
void | finished (GdkEvent *, bool) |
|
void | aborted (bool) |
|
bool | y_movement_matters () const |
|
void | setup_pointer_frame_offset () |
|
| RegionDrag (Editor *, ArdourCanvas::Item *, RegionView *, std::list< RegionView * > const &) |
|
virtual | ~RegionDrag () |
|
| 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 | allow_vertical_autoscroll () const |
|
virtual bool | x_movement_matters () const |
|
bool | initially_vertical () const |
|
Drag to trim region(s)
Definition at line 621 of file editor_drag.h.
Enumerator |
---|
StartTrim |
|
EndTrim |
|
ContentsTrim |
|
Definition at line 624 of file editor_drag.h.
TrimDrag::TrimDrag |
( |
Editor * |
e, |
|
|
ArdourCanvas::Item * |
i, |
|
|
RegionView * |
p, |
|
|
std::list< RegionView * > const & |
v, |
|
|
bool |
preserve_fade_anchor = false |
|
) |
| |
void TrimDrag::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 2911 of file editor_drag.cc.
void TrimDrag::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 2808 of file editor_drag.cc.
void TrimDrag::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 2652 of file editor_drag.cc.
void TrimDrag::setup_pointer_frame_offset |
( |
| ) |
|
|
virtual |
void TrimDrag::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 2585 of file editor_drag.cc.
bool TrimDrag::y_movement_matters |
( |
| ) |
const |
|
inlinevirtual |
- Returns
- true if y movement matters to this drag
Reimplemented from Drag.
Definition at line 637 of file editor_drag.h.
bool TrimDrag::_jump_position_when_done |
|
private |
bool TrimDrag::_preserve_fade_anchor |
|
private |
The documentation for this class was generated from the following files: