make CairoWidget respond to gtk_widget_set_state (INSENSITIVE)
[ardour.git] / gtk2_ardour / cairo_widget.h
index 7cdaf66efed92a20bb52b50e7c80483cfef599de..d3eac0bb0227c10f6a1fbbff3098c16ba568b6a3 100644 (file)
@@ -48,6 +48,7 @@ protected:
        virtual void render (cairo_t *) = 0;
        virtual bool on_expose_event (GdkEventExpose *);
        void on_size_allocate (Gtk::Allocation &);
+       void on_state_changed (Gtk::StateType);
        Gdk::Color get_parent_bg ();
 
        int _width; ///< pixmap width