19 #ifndef _gtk_ardour_triggerbox_ui_h_
20 #define _gtk_ardour_triggerbox_ui_h_
63 void draw_launch_icon (Cairo::RefPtr<Cairo::Context> context,
float size,
float scale)
const;
98 void drag_end (Glib::RefPtr<Gdk::DragContext>
const&);
128 static Glib::RefPtr<Gtk::TargetList>
dnd_src ()
134 typedef std::vector<TriggerEntry*>
Slots;
146 bool drag_motion (Glib::RefPtr<Gdk::DragContext>
const&,
int,
int, guint);
147 void drag_leave (Glib::RefPtr<Gdk::DragContext>
const&, guint);
Declaration of the main canvas classes.
bool drag_motion(Glib::RefPtr< Gdk::DragContext > const &, int, int, guint)
sigc::connection _selection_connection
bool triggerbox_event(GdkEvent *)
static Glib::RefPtr< Gtk::TargetList > dnd_src()
static Glib::RefPtr< Gtk::TargetList > _dnd_src
TriggerBoxUI(ArdourCanvas::Item *parent, TriggerStrip &, ARDOUR::TriggerBox &)
ARDOUR::TriggerBox & _triggerbox
void _size_allocate(ArdourCanvas::Rect const &)
TriggerStrip & strip() const
std::vector< TriggerEntry * > Slots
uint64_t slot_at_y(int) const
void drag_data_received(Glib::RefPtr< Gdk::DragContext > const &, int, int, Gtk::SelectionData const &, guint, guint)
void drag_leave(Glib::RefPtr< Gdk::DragContext > const &, guint)
void box_rec_enable_changed()
void drag_data_get(Glib::RefPtr< Gdk::DragContext > const &, Gtk::SelectionData &, guint, guint)
void _size_allocate(ArdourCanvas::Rect const &)
void drag_end(Glib::RefPtr< Gdk::DragContext > const &)
void owner_color_changed()
PBD::ScopedConnectionList _rec_enable_connections
ArdourCanvas::Rectangle * play_button
bool play_button_event(GdkEvent *)
void on_trigger_changed(PBD::PropertyChange const &change)
void render(ArdourCanvas::Rect const &area, Cairo::RefPtr< Cairo::Context > context) const
bool follow_button_event(GdkEvent *)
void ui_parameter_changed(std::string const &p)
ArdourCanvas::Rectangle * name_button
void draw_follow_icon(Cairo::RefPtr< Cairo::Context > context, ARDOUR::FollowAction const &icon, float size, float scale) const
PBD::ScopedConnection _owner_prop_connection
void owner_prop_change(PBD::PropertyChange const &)
void drag_begin(Glib::RefPtr< Gdk::DragContext > const &)
sigc::connection rec_blink_connection
Gtkmm2ext::Color bg_color() const
void set_play_button_tooltip()
void blink_rec_enable(bool)
ArdourCanvas::Text * name_text
void set_widget_colors(TriggerEntry::EnteredState es=NoneEntered)
ArdourCanvas::Rectangle * follow_button
TriggerStrip & strip() const
TriggerEntry(ArdourCanvas::Item *item, TriggerStrip &, ARDOUR::TriggerReference rf)
bool name_button_event(GdkEvent *)
void draw_launch_icon(Cairo::RefPtr< Cairo::Context > context, float size, float scale) const