namespace AcDream.UI.Abstractions.Panels.Settings; /// /// Complete persisted state for one retained window at one screen resolution. /// Position and size are outer-frame pixels; panel flags retain the small amount /// of state that geometry alone cannot reproduce reliably. The authored revision /// lets a window invalidate obsolete saved dimensions without discarding its /// position, visibility, or later user resizing. /// public readonly record struct UiWindowLayout( float X, float Y, float Width, float Height, bool Visible, bool Collapsed, bool Maximized, int AuthoredGeometryRevision = 0);