#include <tb_application_window.h>
Public Member Functions | |
| WindowProperties (void) | |
Public Attributes | |
| tbCore::int16 | mWindowWidth |
| The width of the window rectangle in pixels. The actual width may be larger to account for the window border. | |
| tbCore::int16 | mWindowHeight |
| The height of the window rectangle in pixels. The actual height may be larger to account for the window title and border. | |
| tbCore::int16 | mWindowPositionX |
| The position of the left edge of the window in pixels. | |
| tbCore::int16 | mWindowPositionY |
| The position of the top edge of the window in pixels. | |
| bool | mVerticalSync |
| True if the rendering should be synchronized with the monitors refresh rate. | |
Holds information about the size and position of a window along with the context information for OpenGL.
| TurtleBrains::Application::WindowProperties::WindowProperties | ( | void | ) |
Sets the default width/height and location for the window. Likely to be (1280x720 at 100,100)