#include <editor_drag.h>
|
| | MidiRubberbandSelectDrag (EditingContext &, MidiView *) |
| |
| void | select_things (int, Temporal::timepos_t const &, Temporal::timepos_t const &, double, double, bool) |
| |
| void | deselect_things () |
| |
| void | finished (GdkEvent *, bool) |
| |
Public Member Functions inherited from RubberbandSelectDrag |
| | RubberbandSelectDrag (EditingContext &, ArdourCanvas::Item *, std::function< bool(GdkEvent *, Temporal::timepos_t const &)> click_functor) |
| |
| void | start_grab (GdkEvent *, Gdk::Cursor *c=0) |
| |
| void | motion (GdkEvent *, bool) |
| |
| void | aborted (bool) |
| |
| void | do_select_things (GdkEvent *, bool) |
| |
| | 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 |
| |
| virtual MoveThreshold | 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 () |
| |
| virtual void | setup_video_offset () |
| |
| int | grab_button () const |
| |
A RubberbandSelectDrag for selecting MIDI notes
Definition at line 1301 of file editor_drag.h.
◆ MidiRubberbandSelectDrag()
◆ deselect_things()
| void MidiRubberbandSelectDrag::deselect_things |
( |
| ) |
|
|
virtual |
◆ finished()
| void MidiRubberbandSelectDrag::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. |
Reimplemented from RubberbandSelectDrag.
◆ select_things()
Select some things within a rectangle.
- Parameters
-
| button_state | The button state from the GdkEvent. |
| x1 | The left-hand side of the rectangle as a timepos_t |
| x2 | The right-hand side of the rectangle as a timepos_t. |
| 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. |
Reimplemented from RubberbandSelectDrag.
◆ _midi_view
| MidiView* MidiRubberbandSelectDrag::_midi_view |
|
private |
The documentation for this class was generated from the following file: