FontMethods::GetFontObject
function · ui · orchestration
- Address
0x79f090· 72 bytes, up to0x79f0d7- Signature
int __fastcall (const char *unused, CSimpleFont *font, lua_State *L)- Meaning
- Pushes the Font a font follows, or nil
- Confidence
- verified, proof one
- Finding
- ui/fontmethods#justify-and-the-followed-font
Finding: Justify and the followed font in ui: font accessors from Lua
SetJustifyH(name) and
SetJustifyV(name) take any of the six justify names, ignoring case, and keep their own axis of it,
bits 0 to 2 or 3 to 5 of the justify word: a name of the other axis clears the axis. An unchanged
word with the justify group set is not stored; otherwise it is, the group marked set and changed
(0x202). Either way the font stops following its parent's justify and pushes its changes. Any other
argument raises the usage error. GetJustifyH() and GetJustifyV() answer the first set of
LEFT, CENTER, RIGHT or TOP, MIDDLE, BOTTOM, else UNKNOWN. GetFontObject(), on the five types other than FontString
and under Button's three font object getters, answers the followed Font or nil.
The derivation is in the doc.
Callers 8
- Button::GetTextFontObject ui
- Button::GetDisabledFontObject ui
- Button::GetHighlightFontObject ui
- ScrollingMessageFrame::GetFontObject ui
- MessageFrame::GetFontObject ui
- SimpleHTML::GetFontObject ui
- EditBox::GetFontObject ui
- FontInstance::GetFontObject ui
Callees 3
- lua_pushnil lua
- lua_rawgeti lua
- LockScriptObject ui
Calls and jumps by a bare address, from tables/calls.tsv.