X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fardour_button.h;h=cf47fd1d309f13014ecce95b2b02b554fbacd075;hb=41c4c41eaa09a7d831988af828dd040499130bf1;hp=3faa4a12d5c1b49fa49b7d5489a7670875b7d8a4;hpb=b360274e34e90c3d7f6b45a286cdff5a7856f42a;p=ardour.git diff --git a/gtk2_ardour/ardour_button.h b/gtk2_ardour/ardour_button.h index 3faa4a12d5..cf47fd1d30 100644 --- a/gtk2_ardour/ardour_button.h +++ b/gtk2_ardour/ardour_button.h @@ -96,11 +96,14 @@ class ArdourButton : public CairoWidget , public Gtkmm2ext::Activatable void set_image (const Glib::RefPtr&); + void set_fixed_colors (const uint32_t active_color, const uint32_t inactive_color); + protected: void render (cairo_t *); void on_size_request (Gtk::Requisition* req); void on_size_allocate (Gtk::Allocation&); void on_style_changed (const Glib::RefPtr&); + void on_name_changed (); bool on_enter_notify_event (GdkEventCrossing*); bool on_leave_notify_event (GdkEventCrossing*);