fix apparent logic error for MidiRegionView when redisplaying note model
[ardour.git] / gtk2_ardour / ardour_button.h
index 3faa4a12d5c1b49fa49b7d5489a7670875b7d8a4..cf47fd1d309f13014ecce95b2b02b554fbacd075 100644 (file)
@@ -96,11 +96,14 @@ 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);
        void on_size_allocate (Gtk::Allocation&);
        void on_style_changed (const Glib::RefPtr<Gtk::Style>&);
+       void on_name_changed ();
        bool on_enter_notify_event (GdkEventCrossing*);
        bool on_leave_notify_event (GdkEventCrossing*);