CSimpleFrame::IsMouseOver
function · ui · orchestration
- Address
0x76b020· 392 bytes, up to0x76b1a7- Meaning
- Answers whether a point lies in the hit rectangle, or its intersection with the nearest non-drawing ancestor's
- Confidence
- verified, proof one
- Finding
- ui/input#wheel-keys-and-characters
- Test
ui::point_in_rect
Finding: Wheel, keys and characters in ui: input, hit testing and focus
The wheel goes to the wheel lists from stratum 8 down, to each frame whose hit test contains the
cursor, until one answers nonzero. A key down goes down the key lists the same way to each frame's
key-down slot; a frame that answers nonzero is remembered for that key, else the entry stays. A
repeat and a key up go only to the remembered frame, which the key up keeps. A key up with no
remembered frame passes on and clears the entry; PRINTSCREEN (0x212), which has no key down, is
first offered as one, and the clear drops what that recorded. Characters and input-language changes
go down the character lists to each frame's slot.
The derivation is in the doc.
Callers 6
- RaiseFrameUnderCursor ui
- CSimpleTop::StartModifierDrag ui
- CSimpleTop::OnMouseWheel ui
- CSimpleFrame::OnMouseMove ui
- CSimpleButton::OnMouseDown ui
- CSimpleButton::OnMouseUp ui
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.