UiCopyMouseEvent
function · ui · orchestration
- Address
0x766f70· 78 bytes, up to0x766fbd- Meaning
- Copies a mouse payload into an interface event and scales its position through 0x41ad80
- Confidence
- verified, proof one
- Finding
- ui/input#mouse-move-and-the-hover-pick
Finding: Mouse move and the hover pick in ui: input, hit testing and focus
On a mouse move the top stores the event as its last mouse event. A move to the position already stored, unless it is a repeat pick, is ignored. While a frame is being moved or sized the move goes to that. Otherwise the host's move callback may take it; then the pressed frame, if any, gets the move first. The hover pick asks the mouse lists from stratum 8 down to 0, each in list order, calling each frame's move slot until one answers nonzero; that frame becomes hovered. A change runs the old hovered frame's leave slot with 0 and the new one's enter slot.
The derivation is in the doc.
Callers 5
- CSimpleTop::OnMouseMove ui
- CSimpleTop::OnMouseMoveRelative ui
- CSimpleTop::OnMouseDown ui
- CSimpleTop::OnMouseUp ui
- CSimpleTop::OnMouseWheel ui
Callees 1
- ScaleScreenDelta screencoord
Calls and jumps by a bare address, from tables/calls.tsv.