rename parent to m_parent and add floating panel class

This commit is contained in:
2019-03-20 22:28:44 +01:00
parent e635ad00a8
commit 929e80a218
14 changed files with 151 additions and 42 deletions

View File

@@ -96,7 +96,7 @@ class Node
{
friend class LayoutManager;
public:
Node* parent{ nullptr };
Node* m_parent{ nullptr };
YGNodeRef y_node{ nullptr };
class LayoutManager* m_manager;
uint16_t m_nodeID;
@@ -222,7 +222,7 @@ public:
{
auto* n = new T;
n->m_manager = m_manager;
n->parent = parent;
n->m_parent = m_parent;
n->init();
n->create();
n->loaded();