diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-06-12 14:53:44 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-06-12 14:53:44 -0400 |
commit | 590882f3c8e063528452d71daffb36d3151da05e (patch) | |
tree | 27480b4b85a7d2a8aeae51c9c9470c196b8dfff8 /libs/canvas/stateful_image.cc | |
parent | 551014240a49ee11b9dc7541bbe8427ac3402aef (diff) |
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.
Diffstat (limited to 'libs/canvas/stateful_image.cc')
-rw-r--r-- | libs/canvas/stateful_image.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/canvas/stateful_image.cc b/libs/canvas/stateful_image.cc index f2b8e71744..b372ade7b8 100644 --- a/libs/canvas/stateful_image.cc +++ b/libs/canvas/stateful_image.cc @@ -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) |