Utility: Add CursorController

This commit is contained in:
Lynix
2017-01-19 14:17:26 +01:00
parent 282538876b
commit b884f5783c
5 changed files with 82 additions and 10 deletions

View File

@@ -12,14 +12,6 @@ namespace Nz
/*!
* \class Nz::Window
*/
inline Window::Window() :
m_impl(nullptr),
m_asyncWindow(false),
m_closeOnQuit(true),
m_eventPolling(false),
m_waitForEvent(false)
{
}
inline Window::Window(VideoMode mode, const String& title, WindowStyleFlags style) :
Window()
@@ -75,6 +67,11 @@ namespace Nz
}
}
inline CursorController& Nz::Window::GetCursorController()
{
return m_cursorController;
}
inline EventHandler& Nz::Window::GetEventHandler()
{
return m_eventHandler;