using System; namespace Robust.Client.Graphics { public sealed class WindowCreateParameters { public int Width = 1280; public int Height = 720; public string Title = ""; public bool Maximized; public bool Visible = true; public IClydeMonitor? Monitor; public bool Fullscreen; /// /// The window that will "own" this window. /// Owned windows always appear on top of their owners and have some other misc behavior depending on the OS. /// public IClydeWindow? Owner; /// /// Controls where a window is initially placed when created. /// public WindowStartupLocation StartupLocation; /// /// Specifies window styling options for the created window. /// public OSWindowStyles Styles; } /// /// Controls where a window is initially placed when created. /// public enum WindowStartupLocation : byte { /// /// The window position is automatically picked by the windowing system. /// Manual, /// /// The window is positioned at the center of the window. /// CenterOwner, } /// /// Specifies window styling options for an OS window. /// [Flags] public enum OSWindowStyles { /// /// No special styles set. /// None = 0, /// /// Hide title buttons such as close and minimize. /// NoTitleOptions = 1 << 0, /// /// Completely hide the title bar /// NoTitleBar = 1 << 1, } }