forked from Dynamitos/Seele
Initial UI implementation by AI
This commit is contained in:
1 parent
f2a3f59ab1
commit
908b52441f
29 files changed
+884
-186
No files matched your search
@@ -1,16 +1,7 @@
|
||||
#include "Element.h"
|
||||
#include "System.h"
|
||||
#include "UI/Element.h"
|
||||
#include "UI/System.h"
|
||||
|
||||
using namespace Seele;
|
||||
using namespace Seele::UI;
|
||||
|
||||
Element::Element(Attributes attr, Array<Element*> _children) : attr(attr) {
|
||||
for (auto c : _children) {
|
||||
children.add(c);
|
||||
}
|
||||
for (auto& child : children) {
|
||||
child->setParent(this);
|
||||
}
|
||||
}
|
||||
|
||||
Element::~Element() {}
|
||||
Reference in new issue
Block a user