![]() |
Topaz 5.0
Topaz Game Engine
|
Basic customisation of a newly-opened window.
#include "window.hpp"
Public Attributes | |
| std::string | title = "" |
| Title of the window. If you don't provide one, the name of the application specified in tz::initialise will be used instead. | |
| unsigned int | x = 0 |
| x-position of the window, in pixels. | |
| unsigned int | y = 0 |
| y-position of the window, in pixels. | |
| unsigned int | width = 800 |
| Width of the window body, in pixels. | |
| unsigned int | height = 600 |
| Height of the window body, in pixels. | |
| window_flags | flags = window_flags::none |
| Some optional extra flags. See window_flags. | |
| std::string tz::os::window_info::title = "" |
Title of the window. If you don't provide one, the name of the application specified in tz::initialise will be used instead.
| unsigned int tz::os::window_info::x = 0 |
x-position of the window, in pixels.
| unsigned int tz::os::window_info::y = 0 |
y-position of the window, in pixels.
| unsigned int tz::os::window_info::width = 800 |
Width of the window body, in pixels.
| unsigned int tz::os::window_info::height = 600 |
Height of the window body, in pixels.
| window_flags tz::os::window_info::flags = window_flags::none |
Some optional extra flags. See window_flags.