This constructor creates the window with the size and pixel depth defined
in mode. An optional style can be passed to customize the look and
behaviour of the window (borders, title bar, resizable, closable, ...).
If style contains Style::Fullscreen, then mode must be a valid video
mode.
The fourth parameter is an optional structure specifying advanced OpenGL
context settings such as antialiasing, depth-buffer bits, etc.
Construct a new window.
This constructor creates the window with the size and pixel depth defined in mode. An optional style can be passed to customize the look and behaviour of the window (borders, title bar, resizable, closable, ...). If style contains Style::Fullscreen, then mode must be a valid video mode.
The fourth parameter is an optional structure specifying advanced OpenGL context settings such as antialiasing, depth-buffer bits, etc.