completing refactoring, something does not work on resize
This commit is contained in:
@@ -182,6 +182,8 @@ public:
|
||||
|
||||
class Node
|
||||
{
|
||||
friend class LayoutManager;
|
||||
|
||||
const Node* parent{ nullptr };
|
||||
YGNodeRef y_node{ nullptr };
|
||||
|
||||
@@ -293,5 +295,7 @@ class LayoutManager
|
||||
struct stat m_file_info { 0 };
|
||||
public:
|
||||
bool load(const char* path);
|
||||
void reload();
|
||||
bool reload();
|
||||
Node& operator[](uint16_t id) { return m_layouts[id]; }
|
||||
Node& operator[](const char* ids) { return m_layouts[const_hash(ids)]; }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user