OnHtmlElementFontChanged
function · ui · orchestration
- Address
0x78a380· 20 bytes, up to0x78a393- Signature
void __thiscall (void *this, void *font, uint32_t changed)- Meaning
- Asks for a link rebuild when an element font pushes a font or spacing change
- Confidence
- verified, proof one
- Finding
- ui/simplehtml#rebuilding-the-link-buttons
Finding: Rebuilding the link buttons in ui: SimpleHTML
The frame's update rebuilds its hyperlink buttons when +0x370 is set and then clears it, whether or
not the rebuild ran. SetText sets it; so does a change of the frame's width or height by 10⁻⁵ or
more, and a push from an element font whose changed bits include the font or the spacing group
(0x11). A rebuild does nothing while the frame's rectangle is not valid, so that request is lost.
Otherwise it releases every live button and, for each text block whose text contains |H, asks the
block's string for its hyperlink spans and configures one button from the pool per span over that
font string. A colour, justify or shadow change, and a move, rebuild nothing.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.