change the meters into CairoWidget, add expose_area to CairoWidget::render()

This commit is contained in:
Robin Gareus 2014-03-20 23:50:40 +01:00
parent 9df3157dfc
commit ab44e41dfd
18 changed files with 53 additions and 56 deletions

View file

@ -33,7 +33,7 @@ class LED : public CairoWidget
void set_diameter (float);
protected:
void render (cairo_t *);
void render (cairo_t *, cairo_rectangle_t*);
void on_size_request (Gtk::Requisition* req);
void on_realize ();