benilla-re systems structs docs

CSimpleEditBox::ClearFocus

function · ui · orchestration

Address
0x77e410 · 30 bytes, up to 0x77e42d
Meaning
Clears the keyboard focus when this box holds it, running its loss
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 3

Callees 1

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