Ardour
9.0-pre0-822-g12e3bc5c20
|
#include <editor_drag.h>
Public Member Functions | |
FreehandLineDrag (EditingContext &, ArdourCanvas::Item *, ArdourCanvas::Rectangle &, bool, Temporal::TimeDomain) | |
~FreehandLineDrag () | |
void | motion (GdkEvent *, bool) |
void | finished (GdkEvent *, bool) |
bool | mid_drag_key_event (GdkEventKey *) |
virtual void | point_added (ArdourCanvas::Duple const &d, ArdourCanvas::Rectangle const &r, double last_x) |
virtual void | line_extended (ArdourCanvas::Duple const &from, ArdourCanvas::Duple const &to, ArdourCanvas::Rectangle const &r, double last_x) |
Public Member Functions inherited from Drag | |
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 void | start_grab (GdkEvent *e, Gdk::Cursor *c=0) |
virtual bool | end_grab (GdkEvent *) |
virtual void | aborted (bool m)=0 |
virtual bool | active (Editing::MouseMode m) |
bool | preview_video () const |
std::pair< Temporal::timecnt_t, int > | move_threshold () const |
virtual bool | allow_vertical_autoscroll () const |
virtual bool | allow_horizontal_autoscroll () const |
virtual bool | x_movement_matters () const |
virtual bool | y_movement_matters () const |
bool | initially_vertical () const |
virtual void | setup_pointer_offset () |
virtual void | setup_video_offset () |
int | grab_button () const |
Protected Attributes | |
ArdourCanvas::Item * | parent |
ArdourCanvas::Rectangle & | base_rect |
ArdourCanvas::PolyLine * | dragging_line |
bool | horizontally_bounded |
int | direction |
int | edge_x |
bool | did_snap |
bool | line_break_pending |
OrderedPointList | drawn_points |
ArdourCanvas::Coord | line_start_x |
ArdourCanvas::Coord | line_start_y |
Protected Attributes inherited from Drag | |
EditingContext & | editing_context |
DragManager * | _drags |
ArdourCanvas::Item * | _item |
our item More... | |
ArdourCanvas::Item const * | _bounding_item |
our coordinate reference (normally null) More... | |
Temporal::timecnt_t | _pointer_offset |
Temporal::timecnt_t | _video_offset |
bool | _preview_video |
bool | _x_constrained |
true if x motion is constrained, otherwise false More... | |
bool | _y_constrained |
true if y motion is constrained, otherwise false More... | |
bool | _was_rolling |
true if the session was rolling before the drag started, otherwise false More... | |
ARDOUR::timepos_t | _earliest_time_limit |
time we cannot drag before (defaults to 0, indicating no such limit) More... | |
Definition at line 1585 of file editor_drag.h.
FreehandLineDrag< OrderedPointList, OrderedPoint >::FreehandLineDrag | ( | EditingContext & | , |
ArdourCanvas::Item * | , | ||
ArdourCanvas::Rectangle & | , | ||
bool | , | ||
Temporal::TimeDomain | |||
) |
FreehandLineDrag< OrderedPointList, OrderedPoint >::~FreehandLineDrag | ( | ) |
|
virtual |
Called when a drag has finished.
e | Event describing the finish. |
m | true if some movement occurred, otherwise false. |
Implements Drag.
|
inlinevirtual |
Reimplemented in VelocityLineDrag.
Definition at line 1595 of file editor_drag.h.
|
protected |
|
virtual |
Reimplemented from Drag.
|
virtual |
Called when a drag motion has occurred.
e | Event describing the motion. |
f | true if this is the first movement, otherwise false. |
Implements Drag.
|
inlinevirtual |
Reimplemented in VelocityLineDrag.
Definition at line 1594 of file editor_drag.h.
|
protected |
Definition at line 1601 of file editor_drag.h.
|
protected |
Definition at line 1606 of file editor_drag.h.
|
protected |
Definition at line 1604 of file editor_drag.h.
|
protected |
Definition at line 1602 of file editor_drag.h.
|
protected |
Definition at line 1608 of file editor_drag.h.
|
protected |
Definition at line 1605 of file editor_drag.h.
|
protected |
Definition at line 1603 of file editor_drag.h.
|
protected |
Definition at line 1607 of file editor_drag.h.
|
protected |
Definition at line 1609 of file editor_drag.h.
|
protected |
Definition at line 1610 of file editor_drag.h.
|
protected |
Definition at line 1600 of file editor_drag.h.