diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-01-20 12:08:58 +0100 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-18 11:40:52 -0400 |
commit | 36046cccc1fd40b1d98e7740db8fb398b3928285 (patch) | |
tree | dc13548043cacf1173791fddc05a4fab1637d65d /libs/canvas | |
parent | 934f1a04761829ab98c0016e72bb5db17b6ea7b2 (diff) |
add basic data members and methods for adding an explicit size allocation for Canvas::Item
Diffstat (limited to 'libs/canvas')
-rw-r--r-- | libs/canvas/canvas/item.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/canvas/canvas/item.h b/libs/canvas/canvas/item.h index 4088011a01..1b5a24d794 100644 --- a/libs/canvas/canvas/item.h +++ b/libs/canvas/canvas/item.h @@ -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 |