![]() |
Ardour
9.0-pre0-822-g12e3bc5c20
|
#include <editor_drag.h>
Public Member Functions | |
RegionDrag (Editor &, ArdourCanvas::Item *, RegionView *, std::list< RegionView * > const &, Temporal::TimeDomain, bool hide_snapped_cursor=true) | |
virtual | ~RegionDrag () |
![]() | |
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 void | start_grab (GdkEvent *e, Gdk::Cursor *c=0) |
virtual bool | end_grab (GdkEvent *) |
virtual void | motion (GdkEvent *e, bool f)=0 |
virtual void | finished (GdkEvent *e, bool m)=0 |
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 |
virtual bool | mid_drag_key_event (GdkEventKey *) |
bool | initially_vertical () const |
virtual void | setup_pointer_offset () |
int | grab_button () const |
Protected Attributes | |
RegionView * | _primary |
the view that was clicked on (or whatever) to start the drag More... | |
std::list< DraggingView > | _views |
information about all views that are being dragged More... | |
std::vector< TimeAxisView * > | _time_axis_views |
int | _visible_y_low |
int | _visible_y_high |
uint32_t | _ntracks |
![]() | |
Editor & | _editor |
![]() | |
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... | |
Private Member Functions | |
void | region_going_away (RegionView *) |
Private Attributes | |
PBD::ScopedConnection | death_connection |
Friends | |
class | DraggingView |
Abstract base class for drags that involve region(s)
Definition at line 401 of file editor_drag.h.
RegionDrag::RegionDrag | ( | Editor & | , |
ArdourCanvas::Item * | , | ||
RegionView * | , | ||
std::list< RegionView * > const & | , | ||
Temporal::TimeDomain | , | ||
bool | hide_snapped_cursor = true |
||
) |
|
inlinevirtual |
Definition at line 405 of file editor_drag.h.
|
protected |
|
protected |
|
protected |
|
private |
|
protectedvirtual |
Set up the _video_offset - relative to _current_pointer_time
Reimplemented from Drag.
|
friend |
Definition at line 423 of file editor_drag.h.
|
protected |
Definition at line 419 of file editor_drag.h.
|
protected |
the view that was clicked on (or whatever) to start the drag
Definition at line 409 of file editor_drag.h.
|
protected |
a list of the non-hidden TimeAxisViews sorted by editor order key
Definition at line 413 of file editor_drag.h.
|
protected |
information about all views that are being dragged
Definition at line 410 of file editor_drag.h.
|
protected |
Definition at line 418 of file editor_drag.h.
|
protected |
Definition at line 417 of file editor_drag.h.
|
private |
Definition at line 431 of file editor_drag.h.