summaryrefslogtreecommitdiff
path: root/gtk2_ardour/cairo_widget.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-11-03 14:50:42 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-11-03 14:50:42 +0000
commitd555253ffff917358747d1aced3e7fa0509479e2 (patch)
tree4f88a2708c0b96f6e37a09bce4fde3bf40f66ce2 /gtk2_ardour/cairo_widget.h
parent3e36dc77467139f530f15fcbf42a1d5c6960502f (diff)
make CairoWidget respond to gtk_widget_set_state (INSENSITIVE)
git-svn-id: svn://localhost/ardour2/branches/3.0@10413 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/cairo_widget.h')
-rw-r--r--gtk2_ardour/cairo_widget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/cairo_widget.h b/gtk2_ardour/cairo_widget.h
index 7cdaf66efe..d3eac0bb02 100644
--- a/gtk2_ardour/cairo_widget.h
+++ b/gtk2_ardour/cairo_widget.h
@@ -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