diff options
author | chai <chaifix@163.com> | 2021-11-09 19:22:13 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-11-09 19:22:13 +0800 |
commit | d8417b03b9c2a820d3d3be0dfa80841b4d1f4c04 (patch) | |
tree | 7d036d283bd7a626d56c5c5a725733df439c8368 /Editor/GUI/WindowBase.h | |
parent | 13f477664c07826c92eac774f0035994c460c057 (diff) |
*misc
Diffstat (limited to 'Editor/GUI/WindowBase.h')
-rw-r--r-- | Editor/GUI/WindowBase.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/Editor/GUI/WindowBase.h b/Editor/GUI/WindowBase.h deleted file mode 100644 index cf3cae6..0000000 --- a/Editor/GUI/WindowBase.h +++ /dev/null @@ -1,43 +0,0 @@ -#pragma once - -#include <windows.h> -#include <vector> -#include "Runtime/Math/Rect.h" -#include "Runtime/Lua/LuaBind/LuaBind.h" -#include "Runtime/Lua/LuaHelper.h" -#include "Runtime/Utilities/Singleton.h" -#include "Runtime/Debug/Log.h" -#include "Runtime/Graphics/OpenGL.h" -#include "Runtime/Utilities/UtilMacros.h" -#include "Editor/Utils/HelperFuncs.h" -#include "Runtime/Math/Math.h" -#include "Runtime/Utilities/Exception.h" - -class WindowBase -{ -}; - -CustomException(WindowException); - -class GUIWindow; - -class WindowUtil -{ -public: - static void RegisterClasses(); - - static const wchar_t* kContainerWindowClassName; - static const wchar_t* kPopupWindowClassName; - static const wchar_t* kGUIWindowClassName; -}; - -class WindowManager : Singleton<WindowManager> -{ -public: - static Vector2 GetMousePosition(); - static GUIWindow* GetMouseOverWindow(); - -private: - static std::vector<GUIWindow*> s_GUIWindows; - -}; |