Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Commit

Permalink
dialogs restructuring
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeroen committed May 21, 2016
1 parent 681c195 commit ce03d2f
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 31 deletions.
27 changes: 14 additions & 13 deletions 720p/DialogFavourites.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,32 @@
<include>transition_Dialog</include>
<coordinates>
<system>1</system>
<left>340</left>
<top>80</top>
<left>325</left>
<top>78</top>
</coordinates>
<controls>
<control type="group">
<include name="dialog_WindowCommons">
<param name="DialogWidth" value="600" />
<param name="DialogHeight" value="560" />
<param name="DialogHeaderName" value="$LOCALIZE[1036]" />
<width>630</width>
<height>570</height>
<include content="dialog_WindowCommons">
<param name="DialogWidth" value="630" />
<param name="DialogHeight" value="565" />
<param name="DialogHeader" value="$LOCALIZE[1036]" />
<param name="DialogHeaderID" value="1" />
<param name="DialogSeparator" value="true" />
</include>

<include name="dialog_Common-List">
<include content="dialog_Common-List">
<param name="ID" value="450"/>
<param name="ContainerLeft" value="4"/>
<param name="ContainerLeft" value="15"/>
<param name="ContainerTop" value="60"/>
<param name="ContainerWidth" value="592"/>
<param name="ContainerWidth" value="600"/>
<param name="ContainerHeight" value="440"/>
<param name="Width" value="592"/>
<param name="Width" value="570"/>
</include>

<control type="label">
<top>507</top>
<width>600</width>
<bottom>20</bottom>
<width>630</width>
<label>$INFO[Container(450).CurrentItem]/$INFO[Container(450).NumItems]</label>
<align>center</align>
<include>dialog_ControlCommons</include>
Expand Down
6 changes: 4 additions & 2 deletions 720p/IncludesDialogs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@
<param name="Color" default="Color4"/>
<param name="SelectedColor" default="Selected"/>
<param name="Texture" default="dialogs/select-nf.png"/>
<param name="Onup"/>
<param name="OnDown"/>
<definition>
<control type="group">
<width>$PARAM[ContainerWidth]</width>
Expand Down Expand Up @@ -112,8 +114,8 @@
<height>$PARAM[ContainerHeight]</height>
<onleft>$PARAM[OnLeft]</onleft>
<onright>$PARAM[OnRight]</onright>
<onup>$PARAM[OnUp]</onup>
<ondown>$PARAM[OnDown]</ondown>
<onup>$PARAM[ID]</onup>
<ondown>$PARAM[ID]</ondown>
<pagecontrol>$PARAM[PageControl]</pagecontrol>
<preloaditems>4</preloaditems>
<include>global_ListScroll</include>
Expand Down
28 changes: 12 additions & 16 deletions 720p/script-skinshortcuts.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,22 @@
<window>
<defaultcontrol always="true">300</defaultcontrol>
<include>transition_Dialog</include>


<coordinates>
<system>1</system>
<left>183</left>
<left>198</left>
<top>68</top>
</coordinates>
<controls>
<control type="group">
<width>913</width>
<width>883</width>
<height>665</height>

<include content="dialog_WindowCommons">
<param name="DialogHeaderID" value="500"/>
<param name="DialogWidth" value="913"/>
<param name="DialogWidth" value="883"/>
<param name="DialogHeight" value="585"/>
</include>


<control type="group">
<left>14</left>
<top>60</top>
Expand All @@ -29,7 +26,6 @@
<control type="list" id="211">
<width>350</width>
<height>520</height>
<onleft>300</onleft>
<onright>303</onright>
<onup>211</onup>
<ondown>211</ondown>
Expand Down Expand Up @@ -231,32 +227,32 @@
<control type="grouplist" id="9000">
<top>60</top>
<right>20</right>
<width>150</width>
<width>120</width>
<height>140</height>
<itemgap>10</itemgap>
<onleft>300</onleft>
<orientation>vertical</orientation>
<!--reset-->
<include content="dialog_WindowButton">
<param name="Width" value="150" />
<param name="ID" value="308" />
<param name="Label" value="$LOCALIZE[10035]" />
</include>
<!--apply-->
<include content="dialog_WindowButton">
<param name="Width" value="150" />
<param name="Width" value="120" />
<param name="ID" value="10" />
<param name="Label" value="$LOCALIZE[31405]" />
<param name="OnClick" value="SetFocus(8000)" />
<param name="Visible" value="String.IsEqual(Window.Property(groupname),mainmenu)"/>
</include>
<!--ok-->
<include content="dialog_WindowButton">
<param name="Width" value="150" />
<param name="Width" value="120" />
<param name="ID" value="11" />
<param name="Label" value="$LOCALIZE[186]" />
<param name="OnClick" value="Close" />
</include>
<!--reset-->
<include content="dialog_WindowButton">
<param name="Width" value="120" />
<param name="ID" value="308" />
<param name="Label" value="$LOCALIZE[10035]" />
</include>
</control>
</control>
</controls>
Expand Down

0 comments on commit ce03d2f

Please sign in to comment.