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 : uint

Values

NameValueDescription
None0Nothing reported.
Created1The 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.
Focused2It has the keyboard.
Minimized4It is minimized.
Hovered8The cursor is over it.
CloseRequested16The 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.
Maximized32It is maximized: its place and size are its monitor's, not the ones it goes back to.
FullScreen64It 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.