add basic data members and methods for adding an explicit size allocation for Canvas::Item

This commit is contained in:
Paul Davis 2017-01-20 12:08:58 +01:00
parent 934f1a0476
commit 36046cccc1

View file

@ -145,7 +145,7 @@ public:
/* item implementations can override this if they need to */
virtual Rect size_request() const { return bounding_box (true); }
virtual void size_allocate (Rect const&);
void size_allocate (Rect const&);
/** bounding box is the public API to get the size of the item.
If @param for_own_purposes is false, then it will return the