mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-24 07:27:44 +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
|
|
@ -18,8 +18,8 @@
|
|||
*/
|
||||
|
||||
#include "canvas/visibility.h"
|
||||
#include "canvas/group.h"
|
||||
#include "canvas/types.h"
|
||||
#include "canvas/layout.h"
|
||||
|
||||
namespace ArdourCanvas {
|
||||
|
||||
|
|
@ -27,11 +27,11 @@ class Text;
|
|||
class Line;
|
||||
class Rectangle;
|
||||
|
||||
class LIBCANVAS_API Flag : public Group
|
||||
class LIBCANVAS_API Flag : public Layout
|
||||
{
|
||||
public:
|
||||
Flag (Canvas *, Distance, Color, Color, Duple);
|
||||
Flag (Group*, Distance, Color, Color, Duple);
|
||||
Flag (Item*, Distance, Color, Color, Duple);
|
||||
|
||||
void set_text (std::string const &);
|
||||
void set_height (Distance);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue