Wrapper for the display window.
More...
#include <Window.hpp>
|
| | Window (std::string title, int width, int height) |
| |
|
| ~Window () |
| | Destructor.
|
| |
|
void | Shutdown () |
| | Shutdown the window.
|
| |
| bool | Init () |
| |
|
void | SwapBuffers () |
| | Swap the buffers to render to the window.
|
| |
Wrapper for the display window.
◆ Window()
| Engine::Window::Window |
( |
std::string |
title, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
Creates a window
- Parameters
-
| title | of the window we are creating |
| width | of the window |
| height | of the window |
◆ GetHeight()
| static unsigned int Engine::Window::GetHeight |
( |
| ) |
|
|
inlinestatic |
- Returns
- the height of the window
◆ GetWidth()
| static unsigned int Engine::Window::GetWidth |
( |
| ) |
|
|
inlinestatic |
- Returns
- the width of the window
◆ Init()
| bool Engine::Window::Init |
( |
| ) |
|
Initialize SDL and Window creation
- Returns
- false if the window could not be initialized
The documentation for this class was generated from the following files: