CScriptRegion::SetRegionParent
function · ui · primitive
- Address
0x77fd10· 218 bytes, up to0x77fde9- 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
- CSimpleFrame::LoadXMLLayers ui
- ScriptRegionSetParentKeepLayer ui
- CSimpleButton::SetFontString ui
- CSimpleButton::SetStateTexture ui
- CSimpleButton::SetHighlightTexture ui
- SimpleRegionConstruct ui
- SimpleRegionDestruct ui
- CSimpleStatusBar::InstallBarTexture ui
- CSimpleCheckbox::SetCheckedTexture ui
- CSimpleCheckbox::SetDisabledCheckedTexture ui
- CSimpleMessageFrame::LayoutLines ui
- CSimpleMessageScrollFrame::LayoutLines ui
- CSimpleSlider::InstallThumbTexture ui
- CSimpleColorSelect::SetWheelTexture ui
- CSimpleColorSelect::SetWheelThumbTexture ui
- CSimpleColorSelect::SetValueTexture ui
- CSimpleColorSelect::SetValueThumbTexture ui
- Texture::SetDrawLayer ui
- FontString::SetDrawLayer ui
- CGNamePlateFrame::CGNamePlateFrame ui
Callees 4
- CLayoutFrame::SetDeferResize ui
- CSimpleFrame::AddRegion ui
- CScriptRegion::Unregister ui
- CScriptRegion::Register ui
Calls and jumps by a bare address, from tables/calls.tsv.