1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#include "EditorWindows.h" #include "WinUtils.h" #include "Runtime/Math/Math.h" std::vector<GUIWindow*> WindowManager::s_GUIWindows; GUIWindow* WindowManager::GetMouseOverWindow() { return NULL; } Vector2 WindowManager::GetMousePosition() { POINT pt; if (!GetCursorPos(&pt)) return Vector2(0, 0); return Vector2(pt.x, pt.y); }