mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-01 11:27:45 +01:00
automation drawing: we have the squiggly
This commit is contained in:
parent
78bca64a81
commit
86d5e2472c
3 changed files with 40 additions and 12 deletions
|
|
@ -1582,7 +1582,7 @@ class LollipopDrag : public Drag
|
|||
class AutomationDrawDrag : public Drag
|
||||
{
|
||||
public:
|
||||
AutomationDrawDrag (Editor*, ArdourCanvas::Item*, Temporal::TimeDomain);
|
||||
AutomationDrawDrag (Editor*, ArdourCanvas::Rectangle&, Temporal::TimeDomain);
|
||||
~AutomationDrawDrag ();
|
||||
|
||||
void start_grab (GdkEvent *, Gdk::Cursor* c = 0);
|
||||
|
|
@ -1590,7 +1590,9 @@ class AutomationDrawDrag : public Drag
|
|||
void finished (GdkEvent*, bool);
|
||||
void aborted (bool);
|
||||
|
||||
void setup_pointer_sample_offset ();
|
||||
private:
|
||||
ArdourCanvas::Rectangle& base_rect; /* we do not own this */
|
||||
ArdourCanvas::PolyLine* dragging_line;
|
||||
};
|
||||
|
||||
#endif /* __gtk2_ardour_editor_drag_h_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue