basic empty skeleton for automation draw drag
This commit is contained in:
parent
0c8fd48d6f
commit
94f413c399
|
@ -7242,3 +7242,38 @@ LollipopDrag::setup_pointer_sample_offset ()
|
||||||
_pointer_offset = _region->parent_rv.region()->source_beats_to_absolute_time (note->note()->time ()).distance (raw_grab_time ());
|
_pointer_offset = _region->parent_rv.region()->source_beats_to_absolute_time (note->note()->time ()).distance (raw_grab_time ());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AutomationDrawDrag::AutomationDrawDrag (Editor* editor, ArdourCanvas::Item* i, Temporal::TimeDomain time_domain)
|
||||||
|
: Drag (editor, i, time_domain)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
AutomationDrawDrag::~AutomationDrawDrag ()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
AutomationDrawDrag::start_grab (GdkEvent*, Gdk::Cursor* c)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
AutomationDrawDrag::motion (GdkEvent*, bool)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
AutomationDrawDrag::finished (GdkEvent*, bool)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
AutomationDrawDrag::aborted (bool)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void
|
||||||
|
AutomationDrawDrag::setup_pointer_sample_offset ()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -1579,4 +1579,18 @@ class LollipopDrag : public Drag
|
||||||
ArdourCanvas::Lollipop* _primary;
|
ArdourCanvas::Lollipop* _primary;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class AutomationDrawDrag : public Drag
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
AutomationDrawDrag (Editor*, ArdourCanvas::Item*, Temporal::TimeDomain);
|
||||||
|
~AutomationDrawDrag ();
|
||||||
|
|
||||||
|
void start_grab (GdkEvent *, Gdk::Cursor* c = 0);
|
||||||
|
void motion (GdkEvent*, bool);
|
||||||
|
void finished (GdkEvent*, bool);
|
||||||
|
void aborted (bool);
|
||||||
|
|
||||||
|
void setup_pointer_sample_offset ();
|
||||||
|
};
|
||||||
|
|
||||||
#endif /* __gtk2_ardour_editor_drag_h_ */
|
#endif /* __gtk2_ardour_editor_drag_h_ */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user