CSimpleHTML::RebuildLinkButtons
function · ui · orchestration
- Address
0x78af70· 384 bytes, up to0x78b0ef- Signature
void __thiscall (CSimpleHTML *this)- Meaning
- Releases every live link button and configures one per hyperlink span of each linked text block
- 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 1
Callees 6
- 0x44d360 unassigned
- 0x5c27e0 unassigned
- NextLink78b180 ui
- CSimpleHyperlinkButton::Configure ui
- CSimpleHyperlinkedFrame::AcquireLinkButton ui
- CSimpleHyperlinkedFrame::ReleaseLinkButton ui
Calls and jumps by a bare address, from tables/calls.tsv.