CSimpleFrame::OnChar
function · ui · orchestration
- Address
0x76b760· 97 bytes, up to0x76b7c0- Meaning
- Runs OnChar with the character as UTF-8 text when visible and the script is set
- Confidence
- verified, proof two
- Finding
- ui/keyscripts#the-test-a-frame-makes
Finding: The test a frame makes in ui: key scripts and typing
A frame answers a key down or key up with a script only when it is visible, and answers the key down
with 1 when either its OnKeyDown or its OnKeyUp script is set, running only OnKeyDown. A key up needs
OnKeyUp. A character needs OnChar. The script's own result is never read, so a handler cannot decline.
A frame that merely has the keyboard enabled does not take keys.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 2
- EncodeUtf8 unassigned
- FrameScriptExecuteVarArgs ui
Calls and jumps by a bare address, from tables/calls.tsv.