benilla-re systems structs docs

CSimpleColorSelect::OnFrameHide

function · ui · orchestration

Address
0x78bd60 · 19 bytes, up to 0x78bd72
Meaning
Ends both drags, then runs the frame's hide
Confidence
verified, proof one
Finding
ui/colorselect#dragging

Finding: Dragging in ui: ColorSelect

A press inside the wheel's rectangle starts a wheel drag, inside the strip's a value drag, and the press is applied at once. During a wheel drag each move sets the hue to the angle of the cursor from the wheel's centre, (atan2 + π) in degrees, and the saturation to its distance in half widths and half heights, at most 1; the wheel's corners count. During a value drag the value is the cursor's height in the strip, clamped to 0 to 1. Each move redraws and runs OnColorSelect.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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