mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
refactor Canvas so that all Items have children; add Container abstract base class; rename Group as "Layout" and retain only drawing semantics
This commit is contained in:
parent
5d6dc388f7
commit
a8bd6ecc4f
51 changed files with 442 additions and 637 deletions
|
|
@ -43,14 +43,14 @@ Rectangle::Rectangle (Canvas* c, Rect const & rect)
|
|||
{
|
||||
}
|
||||
|
||||
Rectangle::Rectangle (Group* g)
|
||||
: Item (g)
|
||||
Rectangle::Rectangle (Item* parent)
|
||||
: Item (parent)
|
||||
, _outline_what ((What) (LEFT | RIGHT | TOP | BOTTOM))
|
||||
{
|
||||
}
|
||||
|
||||
Rectangle::Rectangle (Group* g, Rect const & rect)
|
||||
: Item (g)
|
||||
Rectangle::Rectangle (Item* parent, Rect const & rect)
|
||||
: Item (parent)
|
||||
, _rect (rect)
|
||||
, _outline_what ((What) (LEFT | RIGHT | TOP | BOTTOM))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue