Basic renderhierarchy async updates

This commit is contained in:
Dynamitos
2021-10-05 12:24:41 +02:00
parent 5dfc8300c5
commit a6f784e6a1
11 changed files with 123 additions and 24 deletions
+2
View File
@@ -7,6 +7,7 @@ namespace UI
{
//Element defines any part of the UI
DECLARE_REF(Element)
DECLARE_REF(System)
class Element
{
public:
@@ -32,6 +33,7 @@ protected:
bool dirty;
bool enabled;
PSystem system;
PElement parent;
Array<PElement> children;
friend class Layout;