mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
add basic data members and methods for adding an explicit size allocation for Canvas::Item
This commit is contained in:
parent
934f1a0476
commit
36046cccc1
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue