benilla-re systems structs docs

CSimpleColorSelect::PlaceWheelThumb

function · ui · primitive

Address
0x78bc20 · 197 bytes, up to 0x78bce4
Meaning
Places the wheel thumb by hue and saturation
Confidence
verified, proof one
Finding
ui/colorselect#the-thumbs
Test
ui::geo_78bc20

Finding: The thumbs in ui: ColorSelect

The wheel thumb's centre sits at the wheel's centre plus half the wheel's width times the saturation, in the direction opposite to the hue's angle: −r·(cos h, sin h), with h in radians. The value thumb's centre sits above the value strip's bottom centre by the wheel's height times the value, the wheel's and not the strip's. The value strip is redrawn from the colour at full value.

The derivation is in the doc.

Callers 2

Callees 1

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