 |
BARE2D
|
|
Go to the documentation of this file.
44 void create(
unsigned int flags);
57 void setSize(
unsigned int width,
unsigned int height);
void setSize(unsigned int width, unsigned int height)
Sets the size of the window (defaults to 600x400)
void setTitle(std::string newTitle)
Sets the title of the window.
void create(unsigned int flags)
This is a graphical window. It holds information about the GL context, as well as the SDL window cont...
It's a graphical window, holds the contexts for GL and SDL.
void swapBuffer()
Swaps the buffer of the SDL window - used to draw to one while the other displays,...
unsigned int getWidth() const
Returns the width of the window.
unsigned int getHeight() const
Returns the height of the window.
SDL_GLContext m_GLContext