s_anchorPointNames
global · ui
- Address
0x811a38· 72 bytes, up to0x811a7f- 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:
| index | point | index | point | index | point |
|---|---|---|---|---|---|
| 0 | TOPLEFT | 3 | LEFT | 6 | BOTTOMLEFT |
| 1 | TOP | 4 | CENTER | 7 | BOTTOM |
| 2 | TOPRIGHT | 5 | RIGHT | 8 | BOTTOMRIGHT |
Name lookup ignores case.
The derivation is in the doc.