CSimpleFontString::SetText
function · ui · orchestration
- Address
0x771d80· 312 bytes, up to0x771eb7- Meaning
- Sets a FontString's text, expanding the grammar escapes when asked, and lays it out again
- Confidence
- verified, proof one
- Finding
- ui/fontstring#setting-the-text
Finding: Setting the text in ui: FontString and Font
Setting text that is empty, or null, empties the string's text but keeps its buffer; text equal to
the current one changes nothing. With a fixed size the text is copied into that many bytes;
otherwise the buffer grows to fit. Any change drops the measures and the built string and lays the
string out again. From Lua, SetText raises %s:SetText(): Font not set on a string with no font,
turns its argument into a string, nil into null, and expands the |1 and |2 grammar escapes
first. GetText returns nil for an empty string, never "".
The derivation is in the doc.
Callers 13
- StartChatBubble ui
- GameTooltipClear ui
- GameTooltipAddDoubleLine ui
- CGTooltip::AppendText ui
- CSimpleFontString::LoadXML ui
- CSimpleButton::SetText ui
- CSimpleEditBox::RebuildLabel ui
- CSimpleMessageFrame::AddLine ui
- CSimpleMessageScrollFrame::ShowLine ui
- CSimpleHTML::AddTextBlock ui
- FontString::SetText ui
- CGNamePlateFrame::Bind ui
- CGNamePlateFrame::UpdateLevel ui
Callees 9
- HandleClose base
- SMemFree storm
- SStrCmp storm
- SStrCopy storm
- SStrDupA storm
- SStrLen storm
- CLayoutFrame::Resize ui
- ExpandGrammarEscapes ui
- SwapNumberSeparators ui
Calls and jumps by a bare address, from tables/calls.tsv.