Skip to content

Instantly share code, notes, and snippets.

@jjd-uk
Created December 15, 2023 16:04
Show Gist options
  • Save jjd-uk/9d60874e1ac1406ff137473112ec1b7a to your computer and use it in GitHub Desktop.
Save jjd-uk/9d60874e1ac1406ff137473112ec1b7a to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<window>
<defaultcontrol always="true">3</defaultcontrol>
<include>Animation_DialogPopupOpenClose</include>
<depth>DepthOSD</depth>
<controls>
<include condition="![Window.IsActive(gamesaves) | Window.IsActive(gamestretchmode) | Window.IsActive(gamevideofilter) | Window.IsActive(gamevideorotation) | Window.IsActive(ingamesaves)]">DefaultDialogSelectLayout</include>
<include condition="Window.IsActive(gamesaves)">GameDialogSelectSaveLayout</include>
<include condition="Window.IsActive(gamevideofilter)">GameDialogSelectFilterLayout</include>
<include condition="Window.IsActive(gamestretchmode)">GameDialogSelectViewLayout</include>
<include condition="Window.IsActive(gamevideorotation)">GameDialogSelectViewLayout</include>
<include condition="Window.IsActive(ingamesaves)">GameDialogSelectSaveInGameLayout</include>
<include condition="Window.IsActive(selectvideoversion)">VersionSelectLayout</include>
<!-- <include condition="Window.IsActive(selectvideoextra)">ExtraSelectLayout</include>
-->
</controls>
</window>
<include name="VersionSelectLayout">
<control type="group">
<centertop>50%</centertop>
<centerleft>50%</centerleft>
<height>750</height>
<width>1220</width>
<include content="DialogBackgroundCommons">
<param name="width" value="1220" />
<param name="height" value="750" />
<param name="header_label" value="$LOCALIZE[31618]$INFO[ListItem.Title,: ]$INFO[ListItem.Year, (,)]" />
<param name="header_id" value="1" />
</include>
<control type="image">
<left>0</left>
<top>80</top>
<width>920</width>
<bottom>2</bottom>
<texture border="40">buttons/dialogbutton-nofo.png</texture>
</control>
<control type="list" id="6">
<visible>String.IsEqual(Window(DialogSelect).Property(Content),videoversions)</visible>
<left>20</left>
<top>100</top>
<width>880</width>
<bottom>20</bottom>
<onup>6</onup>
<ondown>6</ondown>
<onleft>9001</onleft>
<onright>61</onright>
<pagecontrol>61</pagecontrol>
<scrolltime>200</scrolltime>
<itemlayout height="125" width="880">
<control type="image">
<left>12</left>
<top>7</top>
<width>110</width>
<height>110</height>
<texture>$VAR[InfoWallThumbVar]</texture>
<aspectratio>keep</aspectratio>
</control>
<control type="label">
<left>135</left>
<top>0</top>
<right>20</right>
<height>60</height>
<font>font14</font>
<aligny>center</aligny>
<label>test 2 $INFO[ListItem.Label]</label>
</control>
<control type="textbox">
<left>135</left>
<top>50</top>
<right>20</right>
<height>67</height>
<font>font12</font>
<textcolor>grey</textcolor>
<label>$INFO[ListItem.Label2]</label>
</control>
</itemlayout>
<focusedlayout height="125" width="880">
<control type="image">
<left>0</left>
<top>0</top>
<right>0</right>
<bottom>0</bottom>
<texture colordiffuse="button_focus">lists/focus.png</texture>
<visible>Control.HasFocus(6)</visible>
</control>
<control type="image">
<left>12</left>
<top>7</top>
<width>110</width>
<height>110</height>
<texture>$VAR[InfoWallThumbVar]</texture>
<aspectratio>keep</aspectratio>
<visible>!ListItem.Property(PVR.IsRecordingTimer) + !ListItem.Property(PVR.IsRemindingTimer)</visible>
</control>
<control type="image">
<left>27</left>
<top>22</top>
<width>80</width>
<height>80</height>
<aspectratio align="top">keep</aspectratio>
<aligny>center</aligny>
<texture>icons/pvr/timers/recording.png</texture>
<visible>ListItem.Property(PVR.IsRecordingTimer)</visible>
</control>
<control type="image">
<left>27</left>
<top>22</top>
<width>80</width>
<height>80</height>
<aspectratio align="top">keep</aspectratio>
<aligny>center</aligny>
<texture>icons/pvr/timers/bell.png</texture>
<visible>ListItem.Property(PVR.IsRemindingTimer)</visible>
</control>
<control type="label">
<left>135</left>
<top>0</top>
<right>20</right>
<height>60</height>
<aligny>center</aligny>
<scroll>true</scroll>
<font>font14</font>
<label>$INFO[ListItem.Label]</label>
</control>
<control type="textbox">
<left>135</left>
<top>50</top>
<right>20</right>
<height>67</height>
<font>font12</font>
<label>$INFO[ListItem.Label2]</label>
</control>
</focusedlayout>
</control>
<control type="scrollbar" id="61">
<left>910</left>
<top>100</top>
<width>12</width>
<bottom>20</bottom>
<onleft condition="Control.IsVisible(6)">6</onleft>
<onright>9001</onright>
<orientation>vertical</orientation>
</control>
<control type="label">
<left>925</left>
<bottom>10</bottom>
<width>275</width>
<height>35</height>
<font>font12</font>
<align>right</align>
<textcolor>grey</textcolor>
<label>$VAR[SelectLabel]</label>
</control>
<control type="grouplist" id="9001">
<left>920</left>
<top>80</top>
<onleft>61</onleft>
<itemgap>dialogbuttons_itemgap</itemgap>
<onright>3</onright>
<!--
<include content="DefaultDialogButton">
<param name="id" value="5" />
<param name="label" value="" />
</include>
-->
<include content="DefaultDialogButton">
<param name="id" value="8" />
<param name="label" value="Show extras" />
</include>
<include content="DefaultDialogButton">
<param name="id" value="7" />
<param name="label" value="$LOCALIZE[222]" />
</include>
</control>
</control>
</include>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment