| 
    Ardour
    9.0-pre0-1971-g33f1681c76
    
   | 
 
#include <editor_drag.h>
Private Member Functions | |
| void | fake_locate (samplepos_t) | 
Private Attributes | |
| EditorCursor & | _cursor | 
| bool | _stop | 
| true to stop the transport on starting the drag, otherwise false  More... | |
| double | _grab_zoom | 
| editor samples per unit when our grab started  More... | |
| int | _last_mx | 
| int | _last_my | 
| int | _last_dx | 
| int | _last_y_delta | 
Additional Inherited Members | |
  Public Types inherited from Drag | |
| typedef std::pair< int, int > | MoveThreshold | 
  Protected Member Functions inherited from Drag | |
| 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 &) | 
  Protected Attributes inherited from EditorDrag | |
| Editor & | _editor | 
  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... | |
| bool | _copy | 
Drag of the playhead cursor
Definition at line 1104 of file editor_drag.h.
| CursorDrag::CursorDrag | ( | Editor & | , | 
| EditorCursor & | , | ||
| bool | |||
| ) | 
      
  | 
  virtual | 
Called to abort a drag and return things to how they were before it started.
| m | true if some movement occurred, otherwise false. | 
Implements Drag.
      
  | 
  inlinevirtual | 
Reimplemented from Drag.
Definition at line 1114 of file editor_drag.h.
      
  | 
  private | 
      
  | 
  virtual | 
Called when a drag has finished.
| e | Event describing the finish. | 
| m | true if some movement occurred, otherwise false. | 
Implements 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.
      
  | 
  virtual | 
Called to start a grab of an item.
| e | Event that caused the grab to start. | 
| c | Cursor to use, or 0. | 
Reimplemented from Drag.
      
  | 
  inlinevirtual | 
Reimplemented from Drag.
Definition at line 1118 of file editor_drag.h.
      
  | 
  private | 
Definition at line 1125 of file editor_drag.h.
      
  | 
  private | 
editor samples per unit when our grab started
Definition at line 1127 of file editor_drag.h.
      
  | 
  private | 
Definition at line 1132 of file editor_drag.h.
      
  | 
  private | 
Definition at line 1130 of file editor_drag.h.
      
  | 
  private | 
Definition at line 1131 of file editor_drag.h.
      
  | 
  private | 
Definition at line 1133 of file editor_drag.h.
      
  | 
  private | 
true to stop the transport on starting the drag, otherwise false
Definition at line 1126 of file editor_drag.h.