diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-03 23:26:50 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-03 23:26:50 +0100 |
| commit | a1a8281a6f72ee7f1bcedf442f6ade48da8ffef4 (patch) | |
| tree | 07a55046e125b752047da22abe65258feeada5e8 /src/studio.cpp | |
| parent | World: add world/sky material colour modulation (diff) | |
| download | hl2h-a1a8281a6f72ee7f1bcedf442f6ade48da8ffef4.tar.gz hl2h-a1a8281a6f72ee7f1bcedf442f6ade48da8ffef4.zip | |
GUI: add inline colour picker control
Replace the six RGB sliders on the World tint card with a CK_COLOR control:
each row shows a live swatch and expands an inline picker with a
saturation/value square, a hue bar, and hex/RGB preview. The picker grows the
card in place so it scrolls/clips like any other row, keeps HSV state while
open (grey does not lose its hue), writes the shared 0-255 RGB triple used by
the config, and saves on mouse release.
Costs ~1.2k small rects per frame only while a picker is open; no texture
interface needed.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
