Return a color value from the specific color code, and based on the application color scheme:
Syntax |
colorFromCode(uint code): color |
---|---|
code |
Code of the color |
Result |
Return the corresponding color value |
The color codes are the following:
Code |
Descrizione |
---|---|
colorIdDetail |
Application color for details text |
colorIdTip |
Application color for tips text |
colorIdInfo |
Application color for information text |
colorIdWarning |
Application color for warning text |
colorIdError |
Application color for error text |
colorIdValue |
Application color for values |
colorIdText |
Application color for text values |
colorIdKey |
Application color for key text |
colorIdGroup |
Application color for group names |
colorIdUnselected |
Application color for unselected texts |
colorIdHeader |
Application color for table headers |
colorIdSource |
Application color for file source |
colorIdTarget |
Application color for file target |
colorIdDisabled |
Application color for disabled texts |
colorIdTitle |
Application color for titles |
colorIdGreaterValue |
Application color for values greater than target |
colorIdLesserValue |
Application color for values smaller than target |
colorIdSubText |
Application color for secondary texts |
colorIdRed |
Application color for red |
colorIdPurple |
Application color for purple |
colorIdBlue |
Application color for blue |
colorIdCyan |
Application color for cyan |
colorIdGreen |
Application color for green |
colorIdYellow |
Application color for yellow |
colorIdOrange |
Application color for orange |
colorIdGeneric |
Application color for generic text |