MxEngine
Public Member Functions | List of all members
MxEngine::Window Class Reference

Public Member Functions

 Window (int width, int height, const MxString &title)
 
 Window (const Window &)=delete
 
 Window (Window &&other) noexcept
 
Windowoperator= (const Window &)=delete
 
Windowoperator= (Window &&other) noexcept
 
int GetHeight () const
 
int GetWidth () const
 
bool IsOpen () const
 
void PullEvents () const
 
void OnUpdate ()
 
Vector2 GetCursorPosition () const
 
Vector2 GetWindowPosition () const
 
CursorMode GetCursorMode () const
 
const MxString & GetTitle () const
 
bool IsKeyHeld (KeyCode key) const
 
bool IsKeyPressed (KeyCode key) const
 
bool IsKeyReleased (KeyCode key) const
 
WindowHandle GetNativeHandle ()
 
AppEventDispatcherGetEventDispatcher ()
 
bool IsCreated () const
 
WindowCreate ()
 
WindowClose ()
 
WindowSwitchContext ()
 
WindowUseDebugging (bool value=true)
 
WindowUseDoubleBuffering (bool value=true)
 
WindowUseCursorMode (CursorMode cursor)
 
WindowUseCursorPosition (const Vector2 &pos)
 
WindowUseTitle (const MxString &title)
 
WindowUseWindowPosition (int xpos, int ypos)
 
WindowUseWindowSize (int width, int height)
 
WindowUseEventDispatcher (AppEventDispatcher *dispatcher)
 
WindowUseProfile (int majorVersion, int minorVersion, Profile profile)
 

The documentation for this class was generated from the following files: