benilla-re systems structs docs

CSimpleEditBox::OnFontChanged

function · ui · orchestration

Address
0x77e2a0 · 55 bytes, up to 0x77e2d6
Meaning
Lays the box out again for a font change and takes the font's colour for the caret
Confidence
verified, proof one
Finding
ui/editbox#the-caret

Finding: The caret in ui: EditBox

The caret is a solid quad 4 script units wide and as tall as a line. It is white until the box's font changes colour, and then takes that colour. It shows only in the box with the focus, and only while the cursor is inside the visible window. There it toggles each time more than the blink period has passed, 0.5 seconds by default, so it blinks once a second; a period of 0 stops the blinking.

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.