mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
allow public access to CairoWidget::render()
This commit is contained in:
parent
de6a1ab701
commit
55009368c5
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue