diff options
Diffstat (limited to 'gtk2_ardour/ardour_button.h')
-rw-r--r-- | gtk2_ardour/ardour_button.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk2_ardour/ardour_button.h b/gtk2_ardour/ardour_button.h index ee3fd086d1..4732eec509 100644 --- a/gtk2_ardour/ardour_button.h +++ b/gtk2_ardour/ardour_button.h @@ -67,12 +67,13 @@ class ArdourButton : public CairoWidget void set_related_action (Glib::RefPtr<Gtk::Action>); + bool on_button_press_event (GdkEventButton*); + bool on_button_release_event (GdkEventButton*); + protected: void render (cairo_t *); void on_size_request (Gtk::Requisition* req); void on_size_allocate (Gtk::Allocation&); - bool on_button_press_event (GdkEventButton*); - bool on_button_release_event (GdkEventButton*); void on_style_changed (const Glib::RefPtr<Gtk::Style>&); void controllable_changed (); |