Resolve spell-examination component cells through their DAT icon DIDs, project scarab and prismatic-taper formulas when ACE disables component enforcement, and version authored window geometry so stale examination sizes reset once without losing user layout behavior. Co-authored-by: Codex <codex@openai.com>
18 lines
656 B
C#
18 lines
656 B
C#
namespace AcDream.UI.Abstractions.Panels.Settings;
|
|
|
|
/// <summary>
|
|
/// 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.
|
|
/// </summary>
|
|
public readonly record struct UiWindowLayout(
|
|
float X,
|
|
float Y,
|
|
float Width,
|
|
float Height,
|
|
bool Visible,
|
|
bool Collapsed,
|
|
bool Maximized,
|
|
int AuthoredGeometryRevision = 0);
|