benilla-re systems structs docs

CLayoutFrame::LoadXML

function · ui · orchestration

Address
0x767800 · 544 bytes, up to 0x767a1f
Meaning
Reads Size, setAllPoints and the Anchors of an XML node, then lays the frame out
Confidence
verified, proof two
Finding
ui/frames#loading-from-xml

Finding: Loading from XML in ui: the frame object model

Loading a frame from its XML node runs three steps. The first sets the name and the id and marks the frame loading. The second applies an inherited node first, then the layout, then the attributes hidden, toplevel, movable, resizable, frameStrata, frameLevel, alpha, enableMouse, enableKeyboard and clampedToScreen, then the elements TitleRegion, ResizeBounds, Backdrop, HitRectInsets, Layers and Scripts. A script element enables the input kinds it needs: OnChar characters; OnKeyDown or OnKeyUp keys; OnEnter, OnLeave, OnMouseDown, OnMouseUp or OnDragStart the mouse; OnMouseWheel the wheel. The last step loads the child Frames and ends the load (visibility).

The derivation is in the doc.

Callers 3

Callees 8

Calls and jumps by a bare address, from tables/calls.tsv.