diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-03-06 08:05:33 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-03-06 08:05:33 -0500 |
commit | 4a915ee54109fd07a226c0220bdb59057e7792e1 (patch) | |
tree | 45bd3b17c5e05c2d55f12108f3402787410d4438 /gtk2_ardour/ardour_button.h | |
parent | b360274e34e90c3d7f6b45a286cdff5a7856f42a (diff) |
Add ArdourButton::set_fixed_colors() (equivalent to ::set_bg_colors() in Valeriy's original changes)
Diffstat (limited to 'gtk2_ardour/ardour_button.h')
-rw-r--r-- | gtk2_ardour/ardour_button.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_button.h b/gtk2_ardour/ardour_button.h index 3faa4a12d5..6fcdb1c5b1 100644 --- a/gtk2_ardour/ardour_button.h +++ b/gtk2_ardour/ardour_button.h @@ -96,6 +96,8 @@ class ArdourButton : public CairoWidget , public Gtkmm2ext::Activatable void set_image (const Glib::RefPtr<Gdk::Pixbuf>&); + 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); |