allow public access to CairoWidget::render()
authorPaul Davis <paul@linuxaudiosystems.com>
Wed, 4 Jun 2014 03:56:08 +0000 (23:56 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 5 Jun 2014 16:04:41 +0000 (12:04 -0400)
libs/gtkmm2ext/gtkmm2ext/cairo_widget.h

index 2c70f8aad2ef79b55647563199448aaa7f507109..604abb7a71d567eff7dd26895429ea1a0fa76a58 100644 (file)
@@ -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);