![]() |
Ardour
9.0-pre0-979-g7f6f3d64f1
|
#include <editor_drag.h>
Protected Attributes | |
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... | |
Additional Inherited Members | |
![]() | |
double | grab_x () const |
double | grab_y () const |
Temporal::timepos_t | pixel_duration_to_time (double x) const |
Temporal::timepos_t | raw_grab_time () const |
ARDOUR::samplepos_t | grab_sample () const |
Temporal::timepos_t | grab_time () const |
double | last_pointer_x () const |
double | last_pointer_y () const |
ARDOUR::samplepos_t | last_pointer_sample () const |
Temporal::timepos_t | last_pointer_time () const |
Temporal::timecnt_t | snap_delta (guint const) const |
double | current_pointer_x () const |
double | current_pointer_y () const |
void | setup_snap_delta (Temporal::timepos_t const &pos) |
std::shared_ptr< ARDOUR::Region > | add_midi_region (MidiTimeAxisView *, bool commit) |
void | show_verbose_cursor_time (Temporal::timepos_t const &) |
void | show_verbose_cursor_duration (Temporal::timepos_t const &, Temporal::timepos_t const &, double xoffset=0) |
void | show_verbose_cursor_text (std::string const &) |
void | show_view_preview (Temporal::timepos_t const &) |
a base class for Drags that will need access to the full Editor, not just an Editing Context.
Definition at line 366 of file editor_drag.h.
EditorDrag::EditorDrag | ( | Editor & | , |
ArdourCanvas::Item * | , | ||
Temporal::TimeDomain | td, | ||
ArdourCanvas::Item const * | bounding_item, | ||
bool | hide_snapped_cursor = true |
||
) |
|
protected |
Definition at line 371 of file editor_drag.h.