Scripting API
Scripting API
WindowStateFlags
Enum in Abyss.Core, from Abyss.Core.
What a window is doing. Mirrors abyss_core::window::state_flags.
public enum WindowStateFlags : uintValues
| Name | Value | Description |
|---|---|---|
None | 0 | Nothing reported. |
Created | 1 | The platform's window exists. Clear for the frame or two between asking for a window and the platform making it, when the position and size reported are what was asked for. |
Focused | 2 | It has the keyboard. |
Minimized | 4 | It is minimized. |
Hovered | 8 | The cursor is over it. |
CloseRequested | 16 | The platform asked for it to close since anybody last looked — Alt+F4, say. Reported once, because it is an event: a window opened beside the primary is not closed for you. |
Maximized | 32 | It is maximized: its place and size are its monitor's, not the ones it goes back to. |
FullScreen | 64 | It is full screen — a Mac's, its green button's — or going into it or coming out: its place and size are its screen's, or on their way, not the ones it goes back to. |
