s_valueStripPixels
global · ui
- Address
0xcf4f98· 256 bytes, up to0xcf5097- Type
uint32_t[64]- Meaning
- Holds the pixels of the colour select value strip, filled with the owner's colour
- 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.