mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-26 23:05:38 +00:00
colorPicker/swatch srgb display.
dependency from @rextimmy: tolinear and togamma for color+lumnance.
This commit is contained in:
parent
54456fa4fa
commit
d42b1a6be8
7 changed files with 162 additions and 41 deletions
|
|
@ -40,7 +40,7 @@ class GuiSwatchButtonCtrl : public GuiButtonBaseCtrl
|
|||
|
||||
/// The color to display on the button.
|
||||
ColorF mSwatchColor;
|
||||
|
||||
bool mUseSRGB; ///< use sRGB color scale
|
||||
/// Bitmap used for mGrid
|
||||
String mGridBitmap;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue