http://www.mediafire.com/?1hvx31h4o3buhxz
- percentages for anchors is now supported
- the following attribute is now supported for fields, blocks, child elements etc.
visibleTrigger="XXXX"
when XXXX is true the element is displayed. So that means you would need to repeat the element but show it with a different image or text and the opposite trigger condition
Valid triggers are:
Playing
NotPlaying
VolumeMute
VolumeNotMute
ShuffleOn
ShuffleOff
RepeatOn
RepeatOff
EqualiserOn
EqualiserOff
ScrobbleOn
ScrobbleOff
eg.
<element type="Text" x="81" yAnchor="Panel.Bottom" y="-52" width="50" font="Webdings" style="Bold" size="25" fg="255,255,255" mouseOverFg="0,150,250" onClick="PlayPause" visibleTrigger="Playing">4</element>
<element type="Text" x="81" yAnchor="Panel.Bottom" y="-52" width="50" font="Webdings" style="Bold" size="25" fg="255,255,255" mouseOverFg="0,150,250" onClick="PlayPause" visibleTrigger="NotPlaying">8</element>
Now the icons are clickable, but has no effect on settings.
Also two images look overlapped like this
(http://i.imgur.com/4JcSnml.png)
<element type="Icon" image="Images\Rdio_ShuffleOn.png" xAnchor="PlayPosition.Left" x="-25" yAnchor="Panel.Bottom" y="-30" width="30" height="20" onClick="ShuffleToggle" visibleTrigger="ShuffleOn"></element>
<element type="Icon" image="Images\Rdio_ShuffleOff.png" xAnchor="PlayPosition.Left" x="-25" yAnchor="Panel.Bottom" y="-30" width="30" height="20" onClick="ShuffleToggle" visibleTrigger="ShuffleOff"></element>
All onClick functions are working fine with text types when visibleTrigger is set, but none of them works with icons.
One more thing to fix. onClick OpenAutoHidePanel function does not work with icons. The icon is shown and clickable but not working.
<element type="Icon" image="Images\Artwork List.png" xAnchor="Panel.Right" x="-89" yAnchor="Panel.Bottom" y="-44" width="20" height="20" onClick="OpenAutoHidePanel:#ArtworkNowPlayingList"></element>