benilla-re systems structs docs

FontMethods::GetJustifyV

function · ui · primitive

Address
0x79fd70 · 33 bytes, up to 0x79fd90
Signature
int __fastcall (const char *unused, CSimpleFont *font, lua_State *L)
Meaning
Pushes the name of the first vertical justify bit of a font's block, else UNKNOWN
Confidence
verified, proof one
Finding
ui/fontmethods#justify-and-the-followed-font
Test
ui::font_justify_get_v_difftest

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 5

Callees 2

Calls and jumps by a bare address, from tables/calls.tsv.