benilla-re systems structs docs

Button::GetText

function · ui · primitive

Address
0x780e10 · 204 bytes, up to 0x780edb
Signature
int __fastcall (lua_State *L)
Meaning
Implements the Button method GetText, its pair in the table 0x879d00
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/button#the-label-and-its-fonts

Finding: The label and its fonts in ui: Button and CheckButton

The label is a FontString in the ARTWORK layer. Its font follows the state: the disabled font in state 0, else the highlight font while the HIGHLIGHT layer is on, else the normal font. In the pushed state the label moves by the pushed text offset. Installing a label deletes the old one and, only for a label with no anchor, anchors it to the button by the normal font's justify: LEFT to LEFT, RIGHT to RIGHT, else CENTER. SetText creates a label when there is none. GetText returns nil for no label or an empty text.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 6

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