summaryrefslogtreecommitdiff
path: root/libs/gtkmm2ext/gtkmm2ext/cairo_widget.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-03-20 23:50:40 +0100
committerRobin Gareus <robin@gareus.org>2014-03-20 23:50:40 +0100
commitab44e41dfd8b8247ed5f57a8f3fcbbf4f8457827 (patch)
tree63e956159ece10dc3c33340c7004a8d95a7ba8df /libs/gtkmm2ext/gtkmm2ext/cairo_widget.h
parent9df3157dfc59c596bf8f044fc4ab5445a12f02a1 (diff)
change the meters into CairoWidget, add expose_area to CairoWidget::render()
Diffstat (limited to 'libs/gtkmm2ext/gtkmm2ext/cairo_widget.h')
-rw-r--r--libs/gtkmm2ext/gtkmm2ext/cairo_widget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gtkmm2ext/gtkmm2ext/cairo_widget.h b/libs/gtkmm2ext/gtkmm2ext/cairo_widget.h
index c8927b050b..2c70f8aad2 100644
--- a/libs/gtkmm2ext/gtkmm2ext/cairo_widget.h
+++ b/libs/gtkmm2ext/gtkmm2ext/cairo_widget.h
@@ -69,7 +69,7 @@ public:
protected:
/** Render the widget to the given Cairo context */
- virtual void render (cairo_t *) = 0;
+ 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);