A ColorSwatchGroup stores multiple colors as maxon::ColorA. The group itself and the colors can be selected. ColorSwatchGroup elements are stored and handled using ColorSwatchData objects. The class is defined in the lib_colorchooser.h
header file.
ColorSwatchGroups can be created using the usual tools. This is typically not needed.
ColorSwatchGroup elements are stored in a ColorSwatchData object. See ColorSwatchData Color Groups
A ColorSwatchGroup can be selected:
A ColorSwatchGroup can be identified by a name:
A ColorSwatchGroup stores multiple colors and their selection state. The colors are obtained with:
Colors can be edited with:
New colors are added with:
The selection status of a color can be utilized with these functions:
Further utility functions are: