Removing slang temporarily

This commit is contained in:
Dynamitos
2021-08-21 18:02:53 +02:00
parent bc09920462
commit c5686377be
16 changed files with 174 additions and 49 deletions
+42
View File
@@ -0,0 +1,42 @@
#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;
}