Is it possible to change the skin of a widget if it uses only .png's
Is so could someone tell me the code for a .js file...
I have already writen the preferences part...
<preferenceGroup name="ui" title="UI" order"1" icon="Resources/Window.png">
<preference type="popup" name="colour" title="Colour" description="Choose your colour." defaultValues="blue">
<option>Blue</option><optionValue>blue</optionValue>
<option>Red</option><optionValue>red</optionValue>
<option>Yellow</option><optionValue>yellow</optionValue>
<option>Green</option><optionValue>green</optionValue>
<option>Orange</option><optionValue>orange</optionValue>
<option>Teal</option><optionValue>teal</optionValue>
<option>Purple</option><optionValue>purple</optionValue>
<option>Pink</option><optionValue>pink</optionValue>
<option>White</option><optionValue>white</optionValue>
</preference>
</preferenceGroup>