- close
void close()
Releases the SDL resource.
- getSize
vec2i getSize()
Undocumented in source. Be warned that the author may not have intended to support it.
- getWindowInfo
SDL_SysWMinfo getWindowInfo()
Undocumented in source. Be warned that the author may not have intended to support it.
- hide
void hide()
Undocumented in source. Be warned that the author may not have intended to support it.
- id
int id()
Undocumented in source. Be warned that the author may not have intended to support it.
- maximize
void maximize()
Undocumented in source. Be warned that the author may not have intended to support it.
- minimize
void minimize()
Undocumented in source. Be warned that the author may not have intended to support it.
- onClose
void onClose()
Undocumented in source. Be warned that the author may not have intended to support it.
- onEnter
void onEnter()
Undocumented in source. Be warned that the author may not have intended to support it.
- onExposed
void onExposed()
Undocumented in source. Be warned that the author may not have intended to support it.
- onFocusGained
void onFocusGained()
Undocumented in source. Be warned that the author may not have intended to support it.
- onFocusLost
void onFocusLost()
Undocumented in source. Be warned that the author may not have intended to support it.
- onHide
void onHide()
Undocumented in source. Be warned that the author may not have intended to support it.
- onLeave
void onLeave()
Undocumented in source. Be warned that the author may not have intended to support it.
- onMaximized
void onMaximized()
Undocumented in source. Be warned that the author may not have intended to support it.
- onMinimized
void onMinimized()
Undocumented in source. Be warned that the author may not have intended to support it.
- onMove
void onMove(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
- onResized
void onResized(int width, int height)
Undocumented in source. Be warned that the author may not have intended to support it.
- onRestored
void onRestored()
Undocumented in source. Be warned that the author may not have intended to support it.
- onShow
void onShow()
Undocumented in source. Be warned that the author may not have intended to support it.
- onSizeChanged
void onSizeChanged()
Undocumented in source. Be warned that the author may not have intended to support it.
- setFullscreen
void setFullscreen(bool activated)
Undocumented in source. Be warned that the author may not have intended to support it.
- setPosition
void setPosition(vec2i position)
Undocumented in source. Be warned that the author may not have intended to support it.
- setSize
void setSize(vec2i size)
Undocumented in source. Be warned that the author may not have intended to support it.
- setTitle
void setTitle(string title)
Undocumented in source. Be warned that the author may not have intended to support it.
- show
void show()
Undocumented in source. Be warned that the author may not have intended to support it.
- surface
SDL2Surface surface()
Undocumented in source. Be warned that the author may not have intended to support it.
- swapBuffers
void swapBuffers()
Undocumented in source. Be warned that the author may not have intended to support it.
- updateSurface
void updateSurface()
Undocumented in source. Be warned that the author may not have intended to support it.
SDL Window wrapper. There is two ways to receive events, either by polling a SDL2 object, or by overriding the event callbacks.