benilla-re systems structs docs

CSimpleColorSelect::PlaceValueThumb

function · ui · primitive

Address
0x78bcf0 · 99 bytes, up to 0x78bd52
Meaning
Places the value thumb by value times the wheel's height
Confidence
verified, proof one
Finding
ui/colorselect#the-thumbs
Test
ui::glue_geom_78bcf0_alpha_scale

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.