mute and send-alert buttons are now ArdourButtons

git-svn-id: svn://localhost/ardour2/branches/3.0@10397 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-11-02 16:46:49 +00:00
parent 36803567f0
commit 592bfa3616
15 changed files with 91 additions and 69 deletions

View file

@ -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 ();