namespace Nerfed.Runtime;
///
/// All the information required for window creation.
///
public struct WindowCreateInfo
{
///
/// The name of the window that will be displayed in the operating system.
///
public string WindowTitle;
///
/// The width of the window.
///
public uint WindowWidth;
///
/// The height of the window.
///
public uint WindowHeight;
///
/// Specifies if the window will be created in windowed mode or a fullscreen mode.
///
public ScreenMode ScreenMode;
///
/// Whether the window can be resized using the operating system's window dragging feature.
///
public bool SystemResizable;
///
/// Specifies if the window will open at the maximum desktop resolution.
///
public bool StartMaximized;
public WindowCreateInfo(
string windowTitle,
uint windowWidth,
uint windowHeight,
ScreenMode screenMode,
bool systemResizable = false,
bool startMaximized = false
) {
WindowTitle = windowTitle;
WindowWidth = windowWidth;
WindowHeight = windowHeight;
ScreenMode = screenMode;
SystemResizable = systemResizable;
StartMaximized = startMaximized;
}
}