ardour
|
#include <editor_drag.h>
Public Member Functions | |
MidiVerticalSelectDrag (Editor *, MidiRegionView *) | |
void | select_things (int, framepos_t, framepos_t, double, double, bool) |
void | deselect_things () |
Public Member Functions inherited from RubberbandSelectDrag | |
RubberbandSelectDrag (Editor *, ArdourCanvas::Item *) | |
void | start_grab (GdkEvent *, Gdk::Cursor *c=0) |
void | motion (GdkEvent *, bool) |
void | finished (GdkEvent *, bool) |
void | aborted (bool) |
std::pair< ARDOUR::framecnt_t, int > | move_threshold () const |
void | do_select_things (GdkEvent *, bool) |
Public Member Functions inherited from Drag | |
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 bool | allow_vertical_autoscroll () const |
virtual bool | x_movement_matters () const |
virtual bool | y_movement_matters () const |
bool | initially_vertical () const |
virtual void | setup_pointer_frame_offset () |
Private Attributes | |
MidiRegionView * | _region_view |
Additional Inherited Members | |
Protected Member Functions inherited from Drag | |
double | grab_x () const |
double | grab_y () const |
ARDOUR::framepos_t | raw_grab_frame () const |
ARDOUR::framepos_t | grab_frame () const |
double | last_pointer_x () const |
double | last_pointer_y () const |
double | last_pointer_frame () const |
double | current_pointer_x () const |
double | current_pointer_y () const |
boost::shared_ptr< ARDOUR::Region > | add_midi_region (MidiTimeAxisView *) |
void | show_verbose_cursor_time (framepos_t) |
void | show_verbose_cursor_duration (framepos_t, framepos_t, double xoffset=0) |
void | show_verbose_cursor_text (std::string const &) |
Protected Attributes inherited from RubberbandSelectDrag | |
bool | _vertical_only |
Protected Attributes inherited from Drag | |
Editor * | _editor |
our editor More... | |
DragManager * | _drags |
ArdourCanvas::Item * | _item |
our item More... | |
ARDOUR::framecnt_t | _pointer_frame_offset |
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... | |
A RubberbandSelectDrag for selecting MIDI notes but with no horizonal component
Definition at line 932 of file editor_drag.h.
MidiVerticalSelectDrag::MidiVerticalSelectDrag | ( | Editor * | e, |
MidiRegionView * | rv | ||
) |
Definition at line 5615 of file editor_drag.cc.
|
virtual |
Implements RubberbandSelectDrag.
Definition at line 5638 of file editor_drag.cc.
|
virtual |
Select some things within a rectangle.
button_state | The button state from the GdkEvent. |
x1 | The left-hand side of the rectangle in session frames. |
x2 | The right-hand side of the rectangle in session frames. |
y1 | The top of the rectangle in trackview coordinates. |
y2 | The bottom of the rectangle in trackview coordinates. |
drag_in_progress | true if the drag is currently happening. |
Implements RubberbandSelectDrag.
Definition at line 5623 of file editor_drag.cc.
|
private |
Definition at line 941 of file editor_drag.h.