Utility: Add CursorController
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user