benilla-re systems structs docs

OnMouseDown

function · console · primitive

Address
0x63c0b0 · 368 bytes, up to 0x63c21f
Signature
uint32_t __thiscall (void *this)
Meaning
Starts a resize drag in the panel edge band or selects the line under the cursor
Confidence
verified, proof one
Name from
the community database (idb)
Finding
console/screen#mouse
Test
console::mouse_down_drag_difftest

Finding: Mouse in console: screen

A click in the panel's lowest 0.75 · font size starts a resize drag (0xc4ec38 = 1), and the move handler then sets the height to 1 − y, no lower than the font size. A click elsewhere in the panel selects the line under the cursor: its text is copied to 0xc4eb00, the selection flag 0xc4ec3c is 1, and the highlight band is one font size high at the line. Dragging sets the span's horizontal end; the button up fixes it (0xc4ec3c = 2). Clicks above the panel pass, and the move and up handlers always return 1.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 6

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