benilla-re systems structs docs

CSimpleHTML::OnFrameUpdate

function · ui · orchestration

Address
0x78a2f0 · 47 bytes, up to 0x78a31e
Signature
void __thiscall (CSimpleHTML *this, float elapsed)
Meaning
Runs the frame update, then rebuilds the link buttons and clears the request when one is set
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 2

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