mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
change Canvas heirarchy and constructors
Items no longer need a parent group (they require a Canvas pointer instead), so all constructors have been rationalized and have two variants, one with a parent and one with a canvas. All Items now inherit from Fill and Outline, to banish diagonal inheritance and virtual base classes and all that. There were zero changes to the Ardour GUI arising from these changes.
This commit is contained in:
parent
eb69fd17fd
commit
452cf1db35
48 changed files with 409 additions and 178 deletions
|
|
@ -19,8 +19,8 @@ using PBD::error;
|
|||
PBD::Searchpath StatefulImage::_image_search_path;
|
||||
StatefulImage::ImageCache StatefulImage::_image_cache;
|
||||
|
||||
StatefulImage::StatefulImage (Group* group, const XMLNode& node)
|
||||
: Item (group)
|
||||
StatefulImage::StatefulImage (Canvas* c, const XMLNode& node)
|
||||
: Item (c)
|
||||
, _state (0)
|
||||
, _font (0)
|
||||
, _text_x (0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue