diff options
author | chai <chaifix@163.com> | 2021-10-17 11:14:00 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-10-17 11:14:00 +0800 |
commit | d35db57d457132dd9d83fa2bd51491b148530655 (patch) | |
tree | b5a29675f091f268577b5991988c723f273b0bd1 /Editor/EditorManager.cpp | |
parent | 7b0a6d1fe0117cf42a5776aaabda2db78599e5b8 (diff) |
*GUI
Diffstat (limited to 'Editor/EditorManager.cpp')
-rw-r--r-- | Editor/EditorManager.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Editor/EditorManager.cpp b/Editor/EditorManager.cpp new file mode 100644 index 0000000..6f589d9 --- /dev/null +++ b/Editor/EditorManager.cpp @@ -0,0 +1,18 @@ +#include "EditorManager.h" + +#ifdef GAMELAB_DEBUG +const std::string EditorDefine::kResourceRoot = ""; +#else +const std::string EditorDefine::kResourceRoot = "./"; +#endif + + +void EditorManager::SetMainWindow(ContainnerWindow* wnd) +{ + m_MainWindow = wnd; +} + +ContainnerWindow* EditorManager::GetMainWindow() +{ + return m_MainWindow; +} |