2005-12-13, 09:47
with a little though the lable can be gone and each button can be a picture. to prove it find my tiger skin from a year or 2 ago it will have the xmls to do this.
Quote:if you have an object (like the album info and thumb) in the lower right corner but then the user triggers the osd... then the album info and thumb could slide right until it hits the center of the screen, then back again when the osd is turned off.
Quote: <button id="102">
<label>2</label>
<execute>xbmc.activatewindow(6)</execute>
</button>
Quote: <control>
<type>image</type>
<visible effect="fade" time="200">buttonscroller.hasfocus(102)</visible>
<id>0</id>
<posx>400</posx>
<posy>220</posy>
<width>250</width>
<height>200</height>
<texture>home-myvideos.png</texture>
</control>
Quote:control = xbmcgui.skincontrol('control')something along those lines.. i don't care how ugly it is this animation stuff looks great! if you can make the interface hook into the skin xml than it would never need updating
control.set('type', 'image')
control.set('id', '0')
control.set('visible','buttonscroller.hasicon(2)', property = [('effect','fade'),('time',"200")])
window.addcontrol(control)
(ceomr @ dec. 13 2005,10:26 Wrote:@ buttonscroller.hasicon(id)so you've actually tested? hmmm odd mine always return true
works fine you have to change the id's
Quote: <control>
<description>view as icons button</description>
<type>button</type>
<id>2</id>
<posx>50</posx>
<posy>120</posy>
<label>100</label>
<font>font13</font>
<onleft>50</onleft>
<onright>50</onright>
<onup>300</onup>
<ondown>3</ondown>
<visible effect="slide" time="800" allowhiddenfocus="true" startx="80" starty="-117" accleration="1" indelay="1200">!player.hasaudio | player.hasaudio + ![control.hasfocus(50) | control.hasfocus(51) | control.hasfocus(52)]</visible>
</control>