CSimpleButton::LoadXML
function · ui · primitive
- Address
0x7788c0· 901 bytes, up to0x778c44- Meaning
- Loads a Button's frame node, then its state textures, fonts, colours, texts and text attribute
- Confidence
- verified, proof two
- Finding
- ui/xmltypes#elements-and-attributes-by-type
Finding: Elements and attributes by type in ui: what each widget type reads from XML
| type | elements | attributes |
|---|---|---|
Button | NormalTexture, PushedTexture, DisabledTexture, HighlightTexture, ButtonText, NormalFont, DisabledFont, HighlightFont, NormalColor, DisabledColor, HighlightColor, PushedTextOffset, NormalText, HighlightText, DisabledText | text |
CheckButton | CheckedTexture, DisabledCheckedTexture | checked |
EditBox | FontString (with bytes), HighlightColor, TextInsets | font, letters, blinkSpeed, autoFocus, multiLine, numeric, password, ignoreArrows, historyLines |
MessageFrame | FontString (with bytes), TextInsets | font, fade, displayDuration, fadeDuration, insertMode (BOTTOM or not) |
ScrollingMessageFrame | FontString (with bytes), TextInsets | font, fade, displayDuration, fadeDuration, maxLines |
SimpleHTML | FontString, FontStringHeader1 to 3 | font, file, hyperlinkFormat |
Model | FogColor | file, scale, fogNear, fogFar |
ScrollFrame | ScrollChild | none |
Slider | ThumbTexture | drawLayer, minValue, maxValue, valueStep, defaultValue, orientation |
StatusBar | BarTexture, BarColor | drawLayer, minValue, maxValue, defaultValue, orientation |
ColorSelect | ColorWheelTexture, ColorWheelThumbTexture, ColorValueTexture, ColorValueThumbTexture | none |
The derivation is in the doc.
Callers 1
Callees 18
- SStrCmpI storm
- XmlReadDimension ui
- XmlReadColor ui
- FrameXML::AddTextureElement ui
- FrameXML::AddFontStringElement ui
- GetXMLAttribute ui
- FrameScript_GetText ui
- GetBlockPoolData base
- CSimpleFrame::LoadXML ui
- CSimpleFontString::CSimpleFontString ui
- ReadRegionNameAttribute ui
- CSimpleFontString::AnchorToParent ui
- CSimpleButton::SetFontString ui
- CSimpleButton::SetText ui
- CSimpleButton::SetNormalTextColor ui
- CSimpleButton::SetStateTexture ui
- CSimpleButton::SetHighlightTexture ui
- CFontObject::LoadXML ui
Calls and jumps by a bare address, from tables/calls.tsv.