projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
934f1a0
)
add basic data members and methods for adding an explicit size allocation for Canvas...
author
Paul Davis
<paul@linuxaudiosystems.com>
Fri, 20 Jan 2017 11:08:58 +0000
(12:08 +0100)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 18 Sep 2017 15:40:52 +0000
(11:40 -0400)
libs/canvas/canvas/item.h
patch
|
blob
|
history
diff --git
a/libs/canvas/canvas/item.h
b/libs/canvas/canvas/item.h
index 4088011a01c44648bafd95c85ed365e3fbc8718a..1b5a24d794b18317724e6035262f33002ed403ba 100644
(file)
--- 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); }
- v
irtual v
oid 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