diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-11-02 16:46:49 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-11-02 16:46:49 +0000 |
commit | 592bfa3616678838bb80b925d66fbadae2d20d7e (patch) | |
tree | 80b9db7307f325c2118964a8d8334d8b3c70687f /gtk2_ardour/ardour_button.h | |
parent | 36803567f0ad2c385f3259856a282b5ce3b4e0e2 (diff) |
mute and send-alert buttons are now ArdourButtons
git-svn-id: svn://localhost/ardour2/branches/3.0@10397 d708f5d6-7413-0410-9779-e7cbd77b26cf
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 (); |