- getColor
RGBColor getColor(string widgetName, string which)
returns color, provided the widgetName, and which-color (like textColor).
- getColors
RGBColor[string] getColors(string widgetName)
gets all colors for a widget.
- hasColor
bool hasColor(string colorName)
checks if theme has a default color
- hasColor
bool hasColor(string widgetName, string colorName)
checks if theme has a specific color for a specific widget
- hasColors
bool hasColors(string widgetName, string[] colorNames)
checks if theme has specific colors for a specific widget
- hasColors
bool hasColors(string[] colorNames)
Undocumented in source. Be warned that the author may not have intended to support it.
- hasWidget
bool hasWidget(string widgetName)
checks if theme has any color(s) for a widget
- loadTheme
bool loadTheme(string filename)
Loads a theme from file, throws exception if failed
- saveTheme
bool saveTheme(string filename)
Saves current theme to a file, throws exception if failed
- setColor
void setColor(string widgetName, string which, RGBColor color)
sets a color for a widget
- setColor
void setColor(string which, RGBColor color)
sets a default value for a color
- setColors
void setColors(string widgetName, RGBColor[string] widgetColors)
sets all colors for a widget
Theme class