benilla-re systems structs docs

s_simpleHtmlFontObserverVtable

global · ui

Address
0x81cffc · 4 bytes, up to 0x81cfff
Type
void *[1]
Meaning
Holds the one slot of a SimpleHTML's element font observer at +0x338, 0x78a380
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.