Methods | |
| DzError | compileStyleDefinition (String infile, String outfile) |
| Color | getInterfaceColor (Number which) |
| Color | getInterfaceColorDefault (Number which) |
| String | getInterfaceColorDescription (Number which) |
| Number | getNumInterfaceColors () |
| String | getStyleDefinition () |
| void | setInterfaceColor (Number which, Color color) |
Signals | |
| void | interfaceColorsChanged () |
var oSTYLE = App.getStyle(); var nCOLORS = oSTYLE.getNumInterfaceColors(); for( var i = 0; i < nCOLORS; i += 1 ) { oSTYLE.setInterfaceColor( i, oSTYLE.getInterfaceColorDefault( i ) ); }
Compiles a text-based style definition and its images into a single binary style definition file.
| infile | The name of the XML-based text style description | |
| outfile | The name of the DAZ Studio style definition file to create |
| Number DzStyle::getNumInterfaceColors | ( | ) |
| String DzStyle::getStyleDefinition | ( | ) |
| void DzStyle::interfaceColorsChanged | ( | ) | [signal] |
Emitted when the interface color settings have changed.
Sets the given interface color to the new value. The interface will not automatically update - the current style must be reloaded before the changes will take affect.