|
nCine 2026.08.r1-e9a2342
A cross-platform 2D game engine
|
Window related configuration. More...
#include <AppConfiguration.h>

Public Attributes | |
| Vector2i | resolution { 1280, 720 } |
| The window size or the resolution of the closest video mode if going fullscreen. | |
| float | refreshRate = 0.0f |
| The refresh rate of the screen mode used to go in fullscreen. | |
| Vector2i | position { IgnorePosition, IgnorePosition } |
| The window position coordinates in the virtual screen made of all the connected monitors. | |
| bool | fullscreen = false |
| Enables fullscreen mode for the application window. | |
| bool | resizable = false |
| Allows the window to be resized by the user. | |
| bool | scaling = true |
| Enables automatic window size scaling according to the display factor. | |
| nctl::String | title { 128 } |
| The window title. | |
| nctl::String | iconFilename { 128 } |
| The window icon filename. | |
Static Public Attributes | |
| static const int | IgnorePosition = 2147483647 |
| This special value can be used for window position coordinates when a specific position is not needed. | |
Window related configuration.
| Vector2i ncine::AppConfiguration::Window::position { IgnorePosition, IgnorePosition } |
The window position coordinates in the virtual screen made of all the connected monitors.
IgnorePosition value can be used in either or both coordinates when a specific position is not needed. | float ncine::AppConfiguration::Window::refreshRate = 0.0f |
The refresh rate of the screen mode used to go in fullscreen.
| Vector2i ncine::AppConfiguration::Window::resolution { 1280, 720 } |
The window size or the resolution of the closest video mode if going fullscreen.
x or y are zero or negative, the application will go in fullscreen at the current screen resolution.