rename parent to m_parent and add floating panel class
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user