summaryrefslogtreecommitdiff
path: root/libs/gtkmm2ext/gtkmm2ext/cairo_widget.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-06-03 23:56:08 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2014-06-05 12:04:41 -0400
commit55009368c52699b0a0c20dea2cbe0d41d77abc57 (patch)
treec54e2e922caed85771d2116f88ab25fb36dc0e8a /libs/gtkmm2ext/gtkmm2ext/cairo_widget.h
parentde6a1ab701c6249ea04ea98465c09070fd8cc7a2 (diff)
allow public access to CairoWidget::render()
Diffstat (limited to 'libs/gtkmm2ext/gtkmm2ext/cairo_widget.h')
-rw-r--r--libs/gtkmm2ext/gtkmm2ext/cairo_widget.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/gtkmm2ext/gtkmm2ext/cairo_widget.h b/libs/gtkmm2ext/gtkmm2ext/cairo_widget.h
index 2c70f8aad2..604abb7a71 100644
--- a/libs/gtkmm2ext/gtkmm2ext/cairo_widget.h
+++ b/libs/gtkmm2ext/gtkmm2ext/cairo_widget.h
@@ -67,9 +67,10 @@ public:
static void provide_background_for_cairo_widget (Gtk::Widget& w, const Gdk::Color& bg);
+ virtual void render (cairo_t *, cairo_rectangle_t*) = 0;
+
protected:
/** Render the widget to the given Cairo context */
- virtual void render (cairo_t *, cairo_rectangle_t*) = 0;
virtual bool on_expose_event (GdkEventExpose *);
void on_size_allocate (Gtk::Allocation &);
void on_state_changed (Gtk::StateType);