ParseAnchorPoint
function · ui · primitive
- Address
0x6f1840· 69 bytes, up to0x6f1884- Meaning
- Finds an anchor point name in 0x811a38, ignoring case, and writes its index
- 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.
Callers 5
- Script::PositionWorldMapArrowFrame ui
- Script::PositionMiniWorldMapArrowFrame ui
- CLayoutFrame::LoadXML ui
- Frame::StartSizing ui
- Region::SetPoint ui
Callees 1
- SStrCmpI storm
Calls and jumps by a bare address, from tables/calls.tsv.