automation drawing: we have the squiggly

This commit is contained in:
Paul Davis 2023-07-09 17:39:32 -06:00
parent 78bca64a81
commit 86d5e2472c
3 changed files with 40 additions and 12 deletions

View file

@ -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_ */