MoonWorks/src/WindowCreateInfo.cs

29 lines
630 B
C#
Raw Permalink Normal View History

2022-02-25 21:23:31 +00:00
namespace MoonWorks
2021-01-19 19:24:23 +00:00
{
2022-02-23 05:14:32 +00:00
public struct WindowCreateInfo
{
public string WindowTitle;
public uint WindowWidth;
public uint WindowHeight;
public ScreenMode ScreenMode;
public bool SystemResizable;
public bool StartMaximized;
2022-03-02 22:46:55 +00:00
public WindowCreateInfo(
string windowTitle,
uint windowWidth,
uint windowHeight,
ScreenMode screenMode,
bool systemResizable = false,
bool startMaximized = false
2022-03-02 22:46:55 +00:00
) {
WindowTitle = windowTitle;
WindowWidth = windowWidth;
WindowHeight = windowHeight;
ScreenMode = screenMode;
SystemResizable = systemResizable;
StartMaximized = startMaximized;
2022-03-02 22:46:55 +00:00
}
2022-02-23 05:14:32 +00:00
}
2021-01-19 19:24:23 +00:00
}