benilla-re systems structs docs

GameTooltipAnchor

function · ui · orchestration

Address
0x52fe90 · 300 bytes, up to 0x52ffbb
Meaning
Anchors a tooltip to its owner by its mode
Confidence
verified, proof one
Finding
ui/tooltip#setowner-and-the-anchor-modes

Finding: SetOwner and the anchor modes in ui: GameTooltip, the widget

SetOwner(owner, anchor, x, y) clears the tooltip, restores full alpha and stores the owner, the mode and the offsets, which it converts from script units. The anchor names give the modes and the point of the tooltip set to a point of the owner, offset by x and y:

namemodetooltip pointowner point
ANCHOR_LEFT, and an absent or unknown name0BOTTOMRIGHTTOPLEFT
ANCHOR_RIGHT1BOTTOMLEFTTOPRIGHT
ANCHOR_BOTTOMLEFT2TOPRIGHTBOTTOMLEFT
ANCHOR_BOTTOMRIGHT3TOPLEFTBOTTOMRIGHT
ANCHOR_TOPLEFT4BOTTOMLEFTTOPLEFT
ANCHOR_TOPRIGHT5BOTTOMRIGHTTOPRIGHT
ANCHOR_CURSOR6(next entry)
ANCHOR_NONE7all points cleared
ANCHOR_PRESERVE8points kept

The derivation is in the doc.

Callers 2

Callees 2

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