2016-02-08, 23:45
Hello jurialmunkey/friends.
First of all thank you for great skins (Eminence included )
I"m trying to add "Icon Color" function to A:Z but for some reason I can't get it to work
Can someone please point me to the error in the code or something I have missed?
This is the code:
script-skinshortcuts.xml
# script-skinshortcuts.xml works like a charm
Includes_Defs.xml
Includes_Home.xml
# The line from the vertical focusedlayout
the results I get in "Dark3" and not the color I have selected.
but when I enter to "Customize home menu" I can see the selected color.
also in "script-skinshortcuts-includes.xml"
Thanks in advance.
Avia.
First of all thank you for great skins (Eminence included )
I"m trying to add "Icon Color" function to A:Z but for some reason I can't get it to work
Can someone please point me to the error in the code or something I have missed?
This is the code:
script-skinshortcuts.xml
Code:
<!-- Home Icon Color -->
<control type="button" id="9701" description="Home Icon Color">
<width>100%</width>
<height>66</height>
<label>Icon Color</label>
<label2>$INFO[Container(211).ListItem.Property(iconcolor)]</label2>
<onclick>RunScript(script.skin.helper.service,action=colorpicker,shortcutproperty=iconcolor)</onclick>
<texturenofocus colordiffuse="Black12" border="5">common/box.png</texturenofocus>
<align>left</align>
<include>DefSettingsButton</include>
</control>
# script-skinshortcuts.xml works like a charm
Includes_Defs.xml
Code:
<!-- Home Icon Color -->
<variable name="IconColor">
<value condition="!IsEmpty(Container(211).ListItem.Property(IconColor))">$INFO[Container(211).ListItem.Property(IconColor)]</value>
<value>Dark3</value>
</variable>
Includes_Home.xml
Code:
<texture colordiffuse="$VAR[IconColor]">$INFO[ListItem.Icon]</texture>
# The line from the vertical focusedlayout
the results I get in "Dark3" and not the color I have selected.
but when I enter to "Customize home menu" I can see the selected color.
also in "script-skinshortcuts-includes.xml"
Thanks in advance.
Avia.