#include <editor_drag.h>
|
| MappingTwistDrag (Editor &, ArdourCanvas::Item *, Temporal::TempoMap::WritableSharedPtr &, Temporal::TempoPoint &prev, Temporal::TempoPoint &focus, Temporal::TempoPoint &next, XMLNode &, bool ramped) |
|
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 | allow_horizontal_autoscroll () const |
|
bool | y_movement_matters () const |
|
void | setup_pointer_offset () |
|
| EditorDrag (Editor &, ArdourCanvas::Item *, Temporal::TimeDomain td, ArdourCanvas::Item const *bounding_item, bool hide_snapped_cursor=true) |
|
| Drag (EditingContext &, ArdourCanvas::Item *, Temporal::TimeDomain td, ArdourCanvas::Item const *bounding_item, bool hide_snapped_cursor=true) |
|
virtual | ~Drag () |
|
void | set_manager (DragManager *m) |
|
void | set_bounding_item (ArdourCanvas::Item const *i) |
|
ArdourCanvas::Item * | item () const |
|
Temporal::TimeDomain | time_domain () const |
|
void | set_time_domain (Temporal::TimeDomain) |
|
void | swap_grab (ArdourCanvas::Item *, Gdk::Cursor *, uint32_t) |
|
bool | motion_handler (GdkEvent *, bool) |
|
void | abort () |
|
Temporal::timepos_t | adjusted_time (Temporal::timepos_t const &, GdkEvent const *, bool snap=true) const |
|
Temporal::timepos_t | adjusted_current_time (GdkEvent const *, bool snap=true) const |
|
bool | was_double_click () const |
|
void | set_double_click (bool yn) |
|
void | set_grab_button_anyway (GdkEvent *) |
|
virtual bool | end_grab (GdkEvent *) |
|
virtual bool | active (Editing::MouseMode m) |
|
bool | preview_video () const |
|
std::pair< Temporal::timecnt_t, int > | move_threshold () const |
|
virtual bool | x_movement_matters () const |
|
virtual bool | mid_drag_key_event (GdkEventKey *) |
|
bool | initially_vertical () const |
|
virtual void | setup_video_offset () |
|
int | grab_button () const |
|
Definition at line 977 of file editor_drag.h.
◆ MappingTwistDrag()
◆ aborted()
void MappingTwistDrag::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.
◆ allow_horizontal_autoscroll()
bool MappingTwistDrag::allow_horizontal_autoscroll |
( |
| ) |
const |
|
inlinevirtual |
◆ allow_vertical_autoscroll()
bool MappingTwistDrag::allow_vertical_autoscroll |
( |
| ) |
const |
|
inlinevirtual |
◆ finished()
void MappingTwistDrag::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.
◆ motion()
void MappingTwistDrag::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.
◆ setup_pointer_offset()
void MappingTwistDrag::setup_pointer_offset |
( |
| ) |
|
|
virtual |
Set up the _pointer_offset
Reimplemented from Drag.
◆ start_grab()
void MappingTwistDrag::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.
◆ y_movement_matters()
bool MappingTwistDrag::y_movement_matters |
( |
| ) |
const |
|
inlinevirtual |
- Returns
- true if y movement matters to this drag
Reimplemented from Drag.
Definition at line 1000 of file editor_drag.h.
◆ _before_state
XMLNode* MappingTwistDrag::_before_state |
|
private |
◆ _do_ramp
bool MappingTwistDrag::_do_ramp |
|
private |
◆ _drag_valid
bool MappingTwistDrag::_drag_valid |
|
private |
◆ delta
double MappingTwistDrag::delta |
|
private |
◆ direction
double MappingTwistDrag::direction |
|
private |
◆ focus
◆ initial_focus_npm
double MappingTwistDrag::initial_focus_npm |
|
private |
◆ initial_pre_npm
double MappingTwistDrag::initial_pre_npm |
|
private |
◆ map
◆ next
◆ prev
The documentation for this class was generated from the following file: