- getHeight
int getHeight()
- getMaximumSize
SDL_Point getMaximumSize()
Get the minimum size setting for the window
- getMinimumSize
SDL_Point getMinimumSize()
Get the minimum size setting for the window
- getPosition
SDL_Point getPosition()
- getSize
SDL_Point getSize()
- getWidth
int getWidth()
- getWindowDisplayMode
SDL_DisplayMode getWindowDisplayMode()
Gets information about the window's display mode
- getWindowFlags
uint getWindowFlags()
- getWindowInfo
SDL_SysWMinfo getWindowInfo()
- getX
int getX()
- getY
int getY()
- hide
void hide()
- id
int id()
- maximize
void maximize()
- minimize
void minimize()
- nativeWindow
SDL_Window* nativeWindow()
- setBordered
void setBordered(bool bordered)
- setFullscreenSetting
void setFullscreenSetting(uint flags)
- setIcon
void setIcon(SDL2Surface icon)
- setMaximumSize
void setMaximumSize(int width, int height)
Get the minimum size setting for the window
- setMinimumSize
void setMinimumSize(int width, int height)
Get the minimum size setting for the window
- setPosition
void setPosition(int positionX, int positionY)
- setSize
void setSize(int width, int height)
- setTitle
void setTitle(string title)
- show
void show()
- surface
SDL2Surface surface()
- swapBuffers
void swapBuffers()
- updateSurface
void updateSurface()
Submit changes to the window surface.
SDL Window wrapper. There is two ways to receive events, either by polling a SDL2 object, or by overriding the event callbacks.