CLayoutFrame::SetPoint
function · ui · primitive
- Address
0x767c70· 245 bytes, up to0x767d64- Meaning
- Sets a point relative to another frame and point with an offset, recording the dependency
- Confidence
- verified, proof two
- Finding
- ui/anchors#absolute-and-relative-points
- Test
ui::glue_767_767c70_anchor_change_detect
Finding: Absolute and relative points in ui: anchors and layout
SetPoint (0x767c70; point, relative frame, relative point, x, y, resize flag) refuses a null
relative frame or the frame itself with error 0x57, and changes nothing when the slot holds a point
to the same frame and point with both offsets less than 2⁻²² from the new ones. Otherwise it frees the
old point, telling its relative frame (Dependents), allocates a 0x14-byte relative point {vtable
0x81c44c, x, y, frame, point}, clears flag 8, records itself as a dependent of the relative frame
with mask 1 << point, and lays itself out when the flag is set. The unreached 0x767b50 stores a
12-byte absolute point {vtable 0x81c42c, x, y}, that vtable's one store (0x767bab).
The derivation is in the doc.
Callers 35
- LayoutCacheApplyFrame ui
- Script::PositionWorldMapArrowFrame ui
- Script::PositionMiniWorldMapArrowFrame ui
- CGChatBubbleFrame::CGChatBubbleFrame ui
- PlaceChatBubble ui
- CGMinimapFrame::CGMinimapFrame ui
- SeatNamePlate ui
- GameTooltipAnchor ui
- GameTooltipClear ui
- CGTooltip::AddTexture ui
- GameTooltipSize ui
- CGTooltip::OnFrameUpdate ui
- CLayoutFrame::LoadXML ui
- CLayoutFrame::PinToParentOffset ui
- CSimpleFontString::AnchorToParent ui
- CSimpleButton::SetFontString ui
- CSimpleEditBox::CreateCandidateFrame ui
- CSimpleEditBox::ShowCandidates ui
- CSimpleEditBox::LayoutLabel ui
- CSimpleEditBox::PlaceCaret ui
- CSimpleEditBox::PlaceSelectionPiece ui
- CSimpleBackdrop::BuildPieces ui
- CSimpleMessageFrame::LayoutLines ui
- CSimpleMessageFrame::ShiftLines ui
- CSimpleScrollFrame::AnchorScrollChild ui
- CSimpleMessageScrollFrame::LayoutLines ui
- CSimpleSlider::OnFrameUpdate ui
- CSimpleHTML::AddImage ui
- CSimpleHTML::AddTextBlock ui
- CSimpleColorSelect::PlaceWheelThumb ui
- CSimpleColorSelect::PlaceValueThumb ui
- Region::SetPoint ui
- CSimpleHyperlinkButton::Configure ui
- CGNamePlateFrame::CGNamePlateFrame ui
- CGNamePlateFrame::Bind ui
Callees 5
- SMemAlloc storm
- SErrSetLastError storm
- CLayoutFrame::AddDependent ui
- CLayoutFrame::RemoveDependent ui
- CLayoutFrame::Resize ui
Calls and jumps by a bare address, from tables/calls.tsv.