CSimpleButton::SetHighlightTextColor
function · ui · orchestration
- Address
0x778ec0· 69 bytes, up to0x778f04- Signature
void __thiscall (CSimpleButton *this, const uint32_t *colour)- Meaning
- Stores the highlight label colour, marks it changed, stops it inheriting and runs the font part's slot 5
- Confidence
- verified, proof one
- Finding
- ui/button#button-teardown-and-text-colour-slots
Finding: Button teardown and text colour slots in ui: Button and CheckButton
The button's destructor body 0x778850 stores its vtables (0x81c7f8, 0x81c7c8 at +0x24), clears the three state textures (0x778fd0(state, 0)), releases the script
slots +0x4cc and +0x4d4, destroys the three label fonts at +0x434, +0x3b8 and +0x33c (0x783b20) and runs the frame destructor. The colour setters 0x778e20, 0x778e70 and
0x778ec0 take a pointer to a colour dword. When it differs from the stored colour (+0x394 normal, +0x48c disabled, +0x410 highlight), or its set bit 0x400 is clear, they store it and set 0x404 in
the font's validity word; then they clear bit 2 of its inherit mask and run slot 5 of the font part. 0x785140 is the check button's destructor body: it clears its two checked textures and runs 0x778850.
The derivation is in the doc.
Callers 1
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.