Skip to content

Commit

Permalink
Fix Dialog Select
Browse files Browse the repository at this point in the history
  • Loading branch information
bumpaneer committed Mar 10, 2015
1 parent 2a687c4 commit c1c5914
Showing 1 changed file with 88 additions and 52 deletions.
140 changes: 88 additions & 52 deletions 720p/DialogSelect.xml
Expand Up @@ -8,7 +8,6 @@
<left>0</left>
<top>0</top>
</coordinates>
<!--<include>dialogeffect</include>-->
<controls>
<control type="image">
<include>Dimensions_Fullscreen</include>
Expand All @@ -35,10 +34,19 @@
<colordiffuse>mainblue</colordiffuse>
<texture border="20">DialogBack.png</texture>
</control>
<control type="image">
<description>Dialog Header image</description>
<left>40</left>
<top>10</top>
<width>520</width>
<height>90</height>
<colordiffuse>mainblue</colordiffuse>
<texture>GlassTitleBar.png</texture>
</control>
<control type="label" id="1">
<description>header label</description>
<left>20</left>
<top>18</top>
<top>15</top>
<width>600</width>
<height>30</height>
<font>font24caps_title</font>
Expand All @@ -47,71 +55,70 @@
<aligny>center</aligny>
<textcolor>white</textcolor>
</control>
<control type="image">
<left>66</left>
<top>50</top>
<width>500</width>
<height>4</height>
<texture>common/list_divider.png</texture>
<control type="button">
<description>Close Window button</description>
<left>515</left>
<top>9</top>
<width>64</width>
<height>32</height>
<label>-</label>
<font>-</font>
<onclick>PreviousMenu</onclick>
<colordiffuse>mainblue</colordiffuse>
<texturefocus>DialogCloseButton-focus.png</texturefocus>
<texturenofocus>DialogCloseButton.png</texturenofocus>
<onleft>10</onleft>
<onright>10</onright>
<onup>10</onup>
<ondown>10</ondown>
<visible>system.getbool(input.enablemouse)</visible>
</control>
<control type="list" id="3">
<left>20</left>
<left>0</left>
<top>60</top>
<width>670</width>
<width>575</width>
<height>520</height>
<onup>3</onup>
<ondown>3</ondown>
<ondown>5</ondown>
<onleft>5</onleft>
<onright>61</onright>
<pagecontrol>61</pagecontrol>
<scrolltime>200</scrolltime>
<itemlayout height="40" width="570">
<itemlayout height="40" width="575">
<control type="label">
<left>40</left>
<top>0</top>
<width>530</width>
<height>40</height>
<font>Font_Neon_20_title</font>
<textcolor>white</textcolor>
<selectedcolor>ffffffff</selectedcolor>
<selectedcolor>selected</selectedcolor>
<align>left</align>
<aligny>center</aligny>
<label>$INFO[ListItem.Label]</label>
</control>
</itemlayout>
<focusedlayout height="80" width="770">
<focusedlayout height="40" width="575">
<control type="image">
<left>120</left>
<top>20</top>
<width>430</width>
<height>41</height>
<left>10</left>
<top>-1</top>
<width>575</width>
<height>42</height>
<colordiffuse>mainblue</colordiffuse>
<texture>MenuItemFO.png</texture>
<visible>Control.HasFocus(3)</visible>
<animation effect="slide" start="0,0" end="-100,0" time="0" tween="cubic" easing="inout" condition="IsEmpty(ListItem.Icon)">Conditional</animation>
</control>
<control type="label">
<left>140</left>
<top>20</top>
<width>430</width>
<left>40</left>
<top>0</top>
<width>535</width>
<height>40</height>
<font>Font_Neon_20_title</font>
<textcolor>ffffffff</textcolor>
<selectedcolor>ffffffff</selectedcolor>
<textcolor>white</textcolor>
<selectedcolor>selected</selectedcolor>
<align>left</align>
<aligny>center</aligny>
<label>$INFO[ListItem.Label]</label>
<animation effect="slide" start="0,0" end="-100,0" time="0" tween="cubic" easing="inout" condition="IsEmpty(ListItem.Icon)">Conditional</animation>
</control>
<control type="image">
<left>0</left>
<top>2</top>
<width>120</width>
<height>76</height>
<texture>$INFO[Listitem.Icon]</texture>
<aspectratio>keep</aspectratio>
<bordertexture border="3">black-back2.png</bordertexture>
<bordersize>2</bordersize>
</control>
</focusedlayout>
</control>
Expand All @@ -120,25 +127,24 @@
<top>60</top>
<width>570</width>
<height>520</height>
<onup>3</onup>
<ondown>3</ondown>
<onup>6</onup>
<ondown>5</ondown>
<onleft>5</onleft>
<onright>61</onright>
<pagecontrol>61</pagecontrol>
<scrolltime>200</scrolltime>
<itemlayout height="104" width="570">
<control type="label">
<left>160</left>
<left>140</left>
<top>30</top>
<width>430</width>
<height>40</height>
<font>Font_Neon_20_title</font>
<textcolor>mainblue</textcolor>
<selectedcolor>mainblue</selectedcolor>
<textcolor>white</textcolor>
<selectedcolor>selected</selectedcolor>
<align>left</align>
<aligny>center</aligny>
<label>$INFO[ListItem.Label]</label>
<animation effect="slide" start="0,0" end="-100,0" time="0" tween="cubic" easing="inout" condition="IsEmpty(ListItem.Icon)">Conditional</animation>
</control>
<control type="image">
<left>0</left>
Expand All @@ -153,26 +159,25 @@
</itemlayout>
<focusedlayout height="104" width="570">
<control type="image">
<left>150</left>
<left>130</left>
<top>30</top>
<width>420</width>
<height>41</height>
<colordiffuse>mainblue</colordiffuse>
<texture>MenuItemFO.png</texture>
<animation effect="slide" start="0,0" end="-100,0" time="0" tween="cubic" easing="inout" condition="IsEmpty(ListItem.Icon)">Conditional</animation>
<texture>MenuItemFOR.png</texture>
<visible>Control.HasFocus(6)</visible>
</control>
<control type="label">
<left>160</left>
<left>140</left>
<top>30</top>
<width>430</width>
<height>40</height>
<font>Font_Neon_20_title</font>
<textcolor>ffffffff</textcolor>
<selectedcolor>ffffffff</selectedcolor>
<textcolor>white</textcolor>
<selectedcolor>selected</selectedcolor>
<align>left</align>
<aligny>center</aligny>
<label>$INFO[ListItem.Label]</label>
<animation effect="slide" start="0,0" end="-100,0" time="0" tween="cubic" easing="inout" condition="IsEmpty(ListItem.Icon)">Conditional</animation>
</control>
<control type="image">
<left>0</left>
Expand All @@ -186,9 +191,26 @@
</control>
</focusedlayout>
</control>
<control type="scrollbar" id="61">
<left>570</left>
<top>65</top>
<width>25</width>
<height>510</height>
<texturesliderbackground border="0,14,0,14">ScrollBarV.png</texturesliderbackground>
<texturesliderbar border="0,14,0,14">ScrollBarV_bar.png</texturesliderbar>
<texturesliderbarfocus border="0,14,0,14" colordiffuse="mainblue">ScrollBarV_bar_focus.png</texturesliderbarfocus>
<textureslidernib>ScrollBarNib.png</textureslidernib>
<textureslidernibfocus>ScrollBarNib.png</textureslidernibfocus>
<onleft>3</onleft>
<onright>5</onright>
<ondown>61</ondown>
<onup>61</onup>
<showonepage>false</showonepage>
<orientation>vertical</orientation>
</control>
<control type="label">
<description>number of files/pages in list text label</description>
<left>580</left>
<left>280</left>
<top>592</top>
<width>300</width>
<height>35</height>
Expand All @@ -198,6 +220,21 @@
<scroll>true</scroll>
<textcolor>mainblue</textcolor>
<label>([COLOR=grey]$INFO[Container(3).NumItems][/COLOR]) $LOCALIZE[31025] - $LOCALIZE[31024] ([COLOR=grey]$INFO[Container(3).CurrentPage]/$INFO[Container(3).NumPages][/COLOR])</label>
<visible>IntegerGreaterThan(Container(3).NumItems,13)</visible>
</control>
<control type="label">
<description>number of files/pages in list text label</description>
<left>280</left>
<top>592</top>
<width>300</width>
<height>35</height>
<font>Font_Neon_20_title</font>
<align>right</align>
<aligny>center</aligny>
<scroll>true</scroll>
<textcolor>mainblue</textcolor>
<label>([COLOR=grey]$INFO[Container(6).NumItems][/COLOR]) $LOCALIZE[31025] - $LOCALIZE[31024] ([COLOR=grey]$INFO[Container(6).CurrentPage]/$INFO[Container(6).NumPages][/COLOR])</label>
<visible>IntegerGreaterThan(Container(6).NumItems,5)</visible>
</control>
<control type="button" id="5">
<description>Manual button</description>
Expand All @@ -210,9 +247,8 @@
<textcolor>mainblue</textcolor>
<focusedcolor>white</focusedcolor>
<align>center</align>
<colordiffuse>mainblue</colordiffuse>
<texturefocus>button-focus.png</texturefocus>
<onleft>61</onleft>
<include>ButtonInfoDialogsCommonValues</include>
<onleft>3</onleft>
<onright>3</onright>
<onup>3</onup>
<ondown>3</ondown>
Expand Down

0 comments on commit c1c5914

Please sign in to comment.