benilla-re systems structs docs

CScriptRegion::SetRegionParent

function · ui · primitive

Address
0x77fd10 · 218 bytes, up to 0x77fde9
Meaning
Moves a region to a new parent and draw layer, linking it into the new parent's region list
Confidence
verified, proof two
Finding
ui/frames#what-the-region-list-holds

Finding: What the region list holds in ui: the frame object model

A region is in its parent's list from the moment it is attached and leaves it when it is detached. The title region of a frame is never in the list: it is a bare object whose parent setter stores the parent and nothing else, so GetRegions does not return it and GetNumRegions does not count it. A button's label and state textures are in the list. A region detached with SetParent(nil) is removed. Hiding a frame or a region changes neither the region list nor the child list. It does unlink the frame from its level list and each region from its layer list (draworder).

The derivation is in the doc.

Callers 20

Callees 4

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