This diff includes:
- implementation for the advanced color selector (T9643),
- common gamut masking toolbar for both advanced and artistic selectors (M135, M136),
- mask rotation (as defined in T9642).
There are also some minor tweaks:
- adaptive highlight of selected swatches - dark when the selected color is light, light when the selected color is dark;
- gamut mask preview while editing is always on;
- the blip in the artistic color selector is always on;
- the text size of the comparative gray scale in the artistic selector is computed so it fits inside the rectangles.
{F6295721}
In the advanced color selector, the gamut masking toolbar is shown (and a mask can be applied), when the selector type is set to Wheel, regardless of it's parameters (there can be a wheel which shows hue and saturation and then a wheel that shows hue and value). Similarly, the artist can invert the order of saturation rings in the artistic color selector. If the mask set to enforcing, the swatches are recalculated and only the colors which would be normally in are shown. However, when "just show the shapes" is set, the artist can have the original mask shape on top of a wheel with the saturation inside out. The question is: should we disable gamut masking on other color wheel types then the wheel with gray in the center and the most saturated colors on the perimeter? Or should we leave it on the artist how exactly they wish to work with it?