Updated: [PM3.HD] Favourites dialog to be less home specific and added better mouse control to it (scrollbar,close window)

git-svn-id: http://jezzxbmc.googlecode.com/svn/trunk/skin.pm3-hd@10 0c45cd24-f56c-ec91-222f-6e3ca35936fa
This commit is contained in:
JezzX2 2010-05-26 00:53:30 +00:00
parent 312f49bb0c
commit 9a02d7d56f

View File

@ -2,33 +2,32 @@
<defaultcontrol always="true">450</defaultcontrol>
<coordinates>
<system>1</system>
<posx>450</posx>
<posy>105</posy>
<posx>200</posx>
<posy>60</posy>
</coordinates>
<animation effect="slide" start="830,0" end="0,0" time="500" tween="quadratic" easing="out">WindowOpen</animation>
<animation effect="slide" end="830,0" start="0,0" time="500" tween="quadratic" easing="in">WindowClose</animation>
<include>dialogeffect</include>
<controls>
<control type="image">
<description>background image</description>
<posx>0</posx>
<posy>0</posy>
<width>900</width>
<height>510</height>
<width>880</width>
<height>600</height>
<texture border="40">DialogBack.png</texture>
</control>
<control type="image">
<description>background image</description>
<posx>0</posx>
<posy>0</posy>
<width>900</width>
<height>510</height>
<width>880</width>
<height>600</height>
<texture border="40">DialogFront.png</texture>
</control>
<control type="label" id="2">
<description>heading label</description>
<posx>40</posx>
<posy>40</posy>
<width>790</width>
<width>800</width>
<height>30</height>
<align>center</align>
<aligny>center</aligny>
@ -36,10 +35,16 @@
<label>$LOCALIZE[1036]</label>
<textcolor>dialogheader</textcolor>
</control>
<control type="button">
<description>Close Window button</description>
<posx>810</posx>
<posy>35</posy>
<include>WindowCloseButtonCommons</include>
</control>
<control type="image">
<posx>40</posx>
<posy>80</posy>
<width>790</width>
<width>800</width>
<height>2</height>
<texture>separator.png</texture>
</control>
@ -47,12 +52,12 @@
<posx>45</posx>
<posy>100</posy>
<width>450</width>
<height>320</height>
<height>450</height>
<onleft>60</onleft>
<onright>60</onright>
<onup>450</onup>
<onleft>450</onleft>
<onright>450</onright>
<ondown>450</ondown>
<pagecontrol>-</pagecontrol>
<pagecontrol>60</pagecontrol>
<scrolltime>200</scrolltime>
<itemlayout height="40">
<control type="image">
@ -104,24 +109,41 @@
</control>
</focusedlayout>
</control>
<control type="scrollbar" id="60">
<posx>500</posx>
<posy>100</posy>
<width>20</width>
<height>450</height>
<texturesliderbackground border="2,2,2,2">scrollbar_bar_back2.png</texturesliderbackground>
<texturesliderbar border="2,16,2,16">scrollbar_bar.png</texturesliderbar>
<texturesliderbarfocus border="2,16,2,16">scrollbar_bar_focus.png</texturesliderbarfocus>
<textureslidernib>scrollbar_nib.png</textureslidernib>
<textureslidernibfocus>scrollbar_nib.png</textureslidernibfocus>
<onleft>450</onleft>
<onright>450</onright>
<ondown>60</ondown>
<onup>60</onup>
<showonepage>false</showonepage>
<orientation>vertical</orientation>
</control>
<control type="label">
<description>Page label</description>
<posx>40</posx>
<posy>430</posy>
<width>450</width>
<posx>820</posx>
<posy>520</posy>
<width>300</width>
<height>30</height>
<align>center</align>
<align>right</align>
<aligny>center</aligny>
<font>font12b</font>
<label>($INFO[Container(450).NumItems]) $LOCALIZE[31025] - $LOCALIZE[31024] ($INFO[Container(450).CurrentPage]/$INFO[Container(450).NumPages])</label>
<visible>!Control.IsVisible(451)</visible>
</control>
<control type="image">
<posx>500</posx>
<posx>530</posx>
<posy>100</posy>
<width>310</width>
<height>315</height>
<aspectratio>keep</aspectratio>
<width>300</width>
<height>410</height>
<aspectratio aligny="top">keep</aspectratio>
<texture>$INFO[Container(450).ListItem.Icon]</texture>
<bordertexture border="5">button-focus2.png</bordertexture>
<bordersize>5</bordersize>