diff options
author | Robin Gareus <robin@gareus.org> | 2014-10-28 02:15:10 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-10-28 02:15:10 +0100 |
commit | b04414d170bff6d3d7cbfdcedd2dcab917fa3e18 (patch) | |
tree | c373438261496bd18f87b85ef1277b9c593cb9d3 /libs/canvas/canvas/canvas.h | |
parent | 6dc3a4bf61b0b5cd7947af6c5c9099f09c32b934 (diff) |
allow to use cairo-image/software surface for canvas & cairowidgets
Diffstat (limited to 'libs/canvas/canvas/canvas.h')
-rw-r--r-- | libs/canvas/canvas/canvas.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/canvas/canvas/canvas.h b/libs/canvas/canvas/canvas.h index c45908f0b3..107ea0d7b2 100644 --- a/libs/canvas/canvas/canvas.h +++ b/libs/canvas/canvas/canvas.h @@ -190,6 +190,7 @@ public: void stop_tooltip_timeout (); protected: + void on_size_allocate (Gtk::Allocation&); bool on_scroll_event (GdkEventScroll *); bool on_expose_event (GdkEventExpose *); bool on_button_press_event (GdkEventButton *); @@ -210,6 +211,8 @@ private: void item_going_away (Item *, boost::optional<Rect>); bool send_leave_event (Item const *, double, double) const; + Cairo::RefPtr<Cairo::Surface> canvas_image; + /** Item currently chosen for event delivery based on pointer position */ Item * _current_item; /** Item pending as _current_item */ |