benilla-re systems structs docs

Region::SetAllPoints

function · ui · orchestration

Address
0x7a2940 · 553 bytes, up to 0x7a2b68
Signature
int __fastcall (lua_State *L)
Meaning
Implements the Region method SetAllPoints: names a frame, defaulting to the parent, then pins both corners
Confidence
verified, proof two
Name from
the community database (idb)
Finding
ui/widgettype#setpoint-and-setallpoints-arguments

Finding: SetPoint and SetAllPoints arguments in ui: widget types and names

SetPoint(point, relativeTo, relativePoint, x, y) reads the second argument as a point name, and the third as a frame name, a frame table, nil (the screen root) or a number, which means the call has no frame and the number is the x offset; the relative frame then defaults to the parent (the screen root with none). relativePoint defaults to point. Both offsets must be numbers or both are 0. A table is not type checked. Failures raise: a frame not found, itself, a frame that depends on it, an unknown point; a missing third argument is a usage error. SetAllPoints accepts a missing argument and reads a number as a name.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 9

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