benilla-re systems structs docs

GameTooltipSetOwner

function · ui · orchestration

Address
0x52ffe0 · 97 bytes, up to 0x530040
Meaning
Sets a tooltip's owner, mode and offsets and anchors it
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 4

Callees 2

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