benilla-re systems structs docs

CSimpleColorSelect::SetValueTexture

function · ui · orchestration

Address
0x78b8a0 · 188 bytes, up to 0x78b95b
Signature
void __thiscall (CSimpleColorSelect *this, void *texture)
Meaning
Gives the value strip texture an 8 by 8 image of the full-value colour under a black to white gradient
Confidence
verified, proof one
Finding
ui/colorselect#the-value-strip-texture

Finding: The value strip texture in ui: ColorSelect

ColorValueTexture gets an 8 by 8 texture whose every texel is the colour at full value +0x334, shaded by a vertical gradient from black to white, so the strip's colour runs from black to the full colour. Setting a texture destroys the previous one, creates the 8 by 8 texture ValueTexture on the colour, sets the gradient and parents the texture to the frame. The wheel's texture update 0x78b760 and the portrait's 0x525ae0 are the same code: they hand the device the owner's pixel array unchanged.

The derivation is in the doc.

Callers 2

Callees 7

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