Topaz 5.0
Topaz Game Engine
Loading...
Searching...
No Matches
tz::os::window_info Struct Reference

Description

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.
 

Member Data Documentation

◆ title

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.

◆ x

unsigned int tz::os::window_info::x = 0

x-position of the window, in pixels.

◆ y

unsigned int tz::os::window_info::y = 0

y-position of the window, in pixels.

◆ width

unsigned int tz::os::window_info::width = 800

Width of the window body, in pixels.

◆ height

unsigned int tz::os::window_info::height = 600

Height of the window body, in pixels.

◆ flags

window_flags tz::os::window_info::flags = window_flags::none

Some optional extra flags. See window_flags.