Configuration fields
- Last UpdatedMar 16, 2026
- 1 minute read
The configuration fields in the Colorselector module.
|
Name |
Type |
Default value |
Description |
|---|---|---|---|
|
showCloseButton |
sbool |
true |
Shows or hides the close button. |
|
baseOrder |
sint |
100 |
Base order for UI. |
|
defaultColors |
mstring |
1 0 0 1,0 1 0 1,0 0 1 1,1 1 0 1,1 0 1 1,0 1 1 1,1 1 1 1 |
7 colors shown in the first row of recent colors. |
|
defaultPosition |
svec2 |
0 0 |
Starting position of the UI within the safe canvas. |
|
hexFont |
sstring |
Segoe UI,antialias,13 |
Hexadecimal font |
|
iconApplyButton |
sstring |
è |
Char representing the icon for the apply button. |
|
iconFont |
sstring |
icon-font,antialias,18 |
Icon font |
|
iconHistoryDownButton |
sstring |
? |
Char representing the icon for the history down button. |
|
iconResetButton |
sstring |
é |
Char representing the icon for the reset button. |
|
iconSaveButton |
sstring |
ò |
Char representing the icon for the save button. |
|
isDragEnable |
sbool |
true |
Enables or disables the dragging of the UI. |
|
palette |
dstring |
{primaryColor=0.32 0.33 0.35 0.9}{secondaryColor=0.18 0.19 0.2 1}{btnNormal=0.22 0.24 0.25 1}{btnOver=0.55 0.55 0.55 0.9}{btnDown=1 1 1 1}{borderColor=1 1 1 0.2}{primaryAction=0.47 0.63 0.99 1}{primaryActionOver=0.6 0.72 1 1}{fontColor=1 1 1 1}{iconDown=0 0 0 1}{bttnOverBorderColor=1 1 1 0.6} |
Color of UI. |
|
safeCanvas |
svec4 |
200 50 800 500 |
Position and size of an invisible safe canvas within which the UI can be dragged. |
|
showSliders |
sbool |
true |
Enable or disable the sliders for Hue, Saturation and Brightness. |
|
textFont |
sstring |
Segoe UI,antialias,11 |
Text font. |
|
verbose |
sbool |
false |
Enables or disables the log messages for debug purposes. |
|
visible |
sbool |
false |
Sets the initial state of the visibility of the UI. |