CSimpleFrame::LoadXML
function · ui · orchestration
- Address
0x769820· 1297 bytes, up to0x769d30- Meaning
- Applies an XML node's inheritance, layout, attributes and child elements to a frame
- Confidence
- verified, proof two
- Finding
- ui/frames#loading-from-xml
- Test
ui::glue769_769820_set_alpha_quantize
Finding: Loading from XML in ui: the frame object model
Loading a frame from its XML node runs three steps. The first sets the name and the id and
marks the frame loading. The second applies an inherited node first, then the layout, then the
attributes hidden, toplevel, movable, resizable, frameStrata, frameLevel, alpha,
enableMouse, enableKeyboard and clampedToScreen, then the elements TitleRegion,
ResizeBounds, Backdrop, HitRectInsets, Layers and Scripts. A script element enables the
input kinds it needs: OnChar characters; OnKeyDown or OnKeyUp keys; OnEnter, OnLeave,
OnMouseDown, OnMouseUp or OnDragStart the mouse; OnMouseWheel the wheel. The last step
loads the child Frames and ends the load (visibility).
The derivation is in the doc.
Callers 10
- CSimpleModel::LoadXML ui
- CSimpleButton::LoadXML ui
- CSimpleEditBox::LoadXML ui
- CSimpleStatusBar::LoadXML ui
- CSimpleMessageFrame::LoadXML ui
- CSimpleScrollFrame::LoadXML ui
- CSimpleMessageScrollFrame::LoadXML ui
- CSimpleSlider::LoadXML ui
- CSimpleHTML::LoadXML ui
- CSimpleColorSelect::LoadXML ui
Callees 26
- __ftol crt
- SMemAlloc storm
- SStrCmpI storm
- SStrToFloat storm
- SStrToInt storm
- FindXMLTemplate ui
- ParseFrameStrata ui
- ParseXMLBool ui
- XmlReadDimension ui
- XmlReadInset ui
- FindXMLChild ui
- GetXMLAttribute ui
- CLayoutFrame::LoadXML ui
- CLayoutFrame::SetDeferResize ui
- CLayoutFrame::SetClampedToScreen ui
- CSimpleFrame::LoadXMLLayers ui
- CSimpleFrame::LoadXMLScripts ui
- CSimpleFrame::SetFrameFlag ui
- CSimpleFrame::SetFrameStrata ui
- CSimpleFrame::SetFrameLevel ui
- CSimpleFrame::SetBackdrop ui
- CSimpleFrame::EnableEvent ui
- CSimpleFrame::SetHitRectInsets ui
- CScriptRegion::CScriptRegion ui
- CSimpleBackdrop::CSimpleBackdrop ui
- CSimpleBackdrop::LoadXML ui
Calls and jumps by a bare address, from tables/calls.tsv.