Untitled Game engine no.5
1.0
|
9 static unsigned int m_Width;
10 static unsigned int m_Height;
12 SDL_GLContext m_Context;
20 Window(std::string title,
int width,
int height);
37 static unsigned int GetWidth() {
return m_Width; };
39 static unsigned int GetHeight() {
return m_Height; };
static unsigned int GetHeight()
Definition: Window.hpp:39
bool Init()
Definition: Window.cpp:16
void Shutdown()
Shutdown the window.
Definition: Window.cpp:54
Wrapper for the display window.
Definition: Window.hpp:7
static unsigned int GetWidth()
Definition: Window.hpp:37
void SwapBuffers()
Swap the buffers to render to the window.
Definition: Window.cpp:63
Window(std::string title, int width, int height)
Definition: Window.cpp:9
Definition: Animation.hpp:14
~Window()
Destructor.
Definition: Window.cpp:14