benilla-re systems structs docs

GetLineAtMousePosition

function · console · primitive

Address
0x63c220 · 99 bytes, up to 0x63c282
Signature
CONSOLELINE * __stdcall (float y)
Meaning
Returns the console line at a y position, the input line for the first row
Confidence
verified, proof one
Name from
the community database (idb)
Finding
console/screen#mouse
Test
console::line_at_mouse_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 1

Callees 1

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