summaryrefslogtreecommitdiff
path: root/Editor/GUI/WindowManager.cpp
blob: d6d8b1eecb246cf28c63a782c20501ed100bc7b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "EditorWindows.h"
#include "WinUtils.h"

std::vector<GUIWindow*> WindowManager::s_GUIWindows;

GUIWindow* WindowManager::GetMouseOverWindow()
{
	return NULL;
}

Internal::Vector2 WindowManager::GetMousePosition()
{
	POINT pt;
	if (!GetCursorPos(&pt))
		return Internal::Vector2(0, 0);

	return Internal::Vector2(pt.x, pt.y);

}