add layout designer

This commit is contained in:
2019-09-26 09:55:54 +02:00
parent f9bddfddad
commit 0a8c3aeaf2
7 changed files with 35 additions and 7 deletions

View File

@@ -13,10 +13,10 @@
class LayoutManager
{
std::map<uint16_t, std::shared_ptr<class Node>> m_layouts;
std::string m_path;
struct stat m_file_info { 0 };
public:
std::map<uint16_t, std::shared_ptr<class Node>> m_layouts;
bool m_loaded = false;
std::function<void(bool reloaded)> on_loaded;
std::function<void()> on_reloading;