benilla-re systems structs docs

s_anchorPointNames

global · ui

Address
0x811a38 · 72 bytes, up to 0x811a7f
Type
uint32_t[18]
Meaning
Holds nine pairs of an anchor point index and its name
Confidence
verified, proof two
Finding
ui/anchors#point-slots-and-point-names

Finding: Point slots and point names in ui: anchors and layout

A CLayoutFrame keeps its anchor points in nine slots at +0x04 to +0x24, one per point, so a frame has at most one anchor per point. The index of a point is fixed by the name table the XML loader and the Lua methods share:

indexpointindexpointindexpoint
0TOPLEFT3LEFT6BOTTOMLEFT
1TOP4CENTER7BOTTOM
2TOPRIGHT5RIGHT8BOTTOMRIGHT

Name lookup ignores case.

The derivation is in the doc.