2025-01-08 19:15:12 +01:00
|
|
|
#include "Element.h"
|
|
|
|
|
#include "System.h"
|
|
|
|
|
|
|
|
|
|
using namespace Seele;
|
|
|
|
|
using namespace Seele::UI;
|
|
|
|
|
|
2025-01-12 11:26:52 +01:00
|
|
|
Element::Element(Attributes attr, Array<Element*> _children) : attr(attr) {
|
|
|
|
|
for (auto c : _children) {
|
|
|
|
|
children.add(c);
|
|
|
|
|
}
|
|
|
|
|
for (auto& child : children) {
|
|
|
|
|
child->setParent(this);
|
|
|
|
|
}
|
2025-01-08 19:15:12 +01:00
|
|
|
}
|
|
|
|
|
|
2025-01-12 11:26:52 +01:00
|
|
|
Element::~Element() {}
|