Basic UI quad, yay

This commit is contained in:
Dynamitos
2021-09-23 10:10:39 +02:00
parent df977110d3
commit 632d120f6d
51 changed files with 579 additions and 187 deletions
-42
View File
@@ -1,42 +0,0 @@
#include "Element.h"
using namespace Seele;
using namespace Seele::UI;
Element::Element()
{
}
Element::~Element()
{
}
void Element::addElement(PElement element)
{
children.add(element);
}
const Array<PElement> Element::getChildren() const
{
return children;
}
void Element::clear()
{
children.clear();
}
void Element::remove(PElement element)
{
children.remove(children.find(element));
}
void Element::setEnabled(bool newEnabled)
{
enabled = newEnabled;
}
bool Element::isEnabled() const
{
return enabled;
}