benilla-re systems structs docs

CSimpleEditBox::OnFocusChanged

function · ui · orchestration

Address
0x77af50 · 100 bytes, up to 0x77afb3
Meaning
Switches the input method and runs OnEditFocusGained or OnEditFocusLost, then marks the cursor
Confidence
verified, proof one
Finding
ui/editbox#keyboard-focus

Finding: Keyboard focus in ui: EditBox

One edit box at a time holds the focus. Focusing requires the box to be visible and not already focused: the old box loses it first, running OnEditFocusLost, then the new one gains it, running OnEditFocusGained. Clearing acts only on the box that holds it. Showing a box focuses it when nothing holds the focus and autoFocus is set; hiding a box clears its focus. A focus change switches the input method on or off unless the box is numeric or password, and repaints the caret.

The derivation is in the doc.

Callers 2

Callees 3

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