mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
TriggerBox: implement basic TriggerSlot DnD
This commit is contained in:
parent
96137739a7
commit
8b90ea39a2
2 changed files with 116 additions and 2 deletions
|
|
@ -102,6 +102,12 @@ private:
|
|||
ARDOUR::TriggerBox& _triggerbox;
|
||||
Slots _slots;
|
||||
|
||||
int _drag_start_x;
|
||||
int _drag_start_y;
|
||||
bool _drag_active;
|
||||
|
||||
Glib::RefPtr<Gtk::TargetList> _dnd_src;
|
||||
|
||||
void build ();
|
||||
void rapid_update ();
|
||||
|
||||
|
|
@ -111,6 +117,11 @@ private:
|
|||
void drag_leave (Glib::RefPtr<Gdk::DragContext> const&, guint);
|
||||
void drag_data_received (Glib::RefPtr<Gdk::DragContext> const&, int, int, Gtk::SelectionData const&, guint, guint);
|
||||
|
||||
bool event (GdkEvent*, uint64_t n);
|
||||
void drag_begin (Glib::RefPtr<Gdk::DragContext> const&);
|
||||
void drag_end (Glib::RefPtr<Gdk::DragContext> const&);
|
||||
void drag_data_get (Glib::RefPtr<Gdk::DragContext> const&, Gtk::SelectionData&, guint, guint);
|
||||
|
||||
bool triggerbox_event (GdkEvent*);
|
||||
|
||||
uint64_t slot_at_y (int) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue