/
Custom_SettingsDialog.xml
181 lines (175 loc) · 10.6 KB
/
Custom_SettingsDialog.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<window type="dialog" id="3001">
<defaultcontrol always="true">3</defaultcontrol>
<allowoverlay>no</allowoverlay>
<onunload condition="!IsEmpty(Window(skinsettings).property(Guide.Custom))">ClearProperty(Guide.Custom,skinsettings)</onunload>
<onunload condition="!IsEmpty(Window(Home).Property(ReloadSkin))">SetFocus(2000)</onunload>
<controls>
<control type="group">
<include>KeyboardAnimations</include>
<visible>!Window.IsVisible(3003)</visible>
<control type="label">
<description>Heading</description>
<posx>473</posx>
<posy>218</posy>
<width>974</width>
<font>Font-Condensed-S34</font>
<label>$INFO[Window(skinsettings).property(Dialog)]</label>
<textcolor>ddwhite</textcolor>
<align>center</align>
</control>
<control type="image">
<posx>920</posx>
<posy>246</posy>
<width>80</width>
<height>60</height>
<texture>dialogs/default/arrow.png</texture>
</control>
<control type="image">
<posx>604</posx>
<posy>266</posy>
<width>712</width>
<height>548</height>
<texture border="39">dialogs/default/bg.png</texture>
</control>
<control type="image">
<posx>638</posx>
<posy>300</posy>
<width>644</width>
<height>481</height>
<texture border="5">dialogs/default/inner.png</texture>
</control>
<control type="grouplist" id="3">
<include>SettingsDialogGrouplistVars</include>
<visible>stringcompare(Window(skinsettings).property(Dialog),$LOCALIZE[41131])</visible>
<control type="radiobutton" id="2101">
<width>1210</width>
<include>SettingsDialogRadioButtonVars</include>
<selected>!Skin.HasSetting(HomeMovies)</selected>
<onclick>Skin.ToggleSetting(HomeMovies)</onclick>
<onclick>SetProperty(ReloadSkin,1,Home)</onclick>
<label>$LOCALIZE[342]</label>
</control>
<control type="radiobutton" id="2102">
<width>1210</width>
<include>SettingsDialogRadioButtonVars</include>
<selected>!Skin.HasSetting(HomeTVShows)</selected>
<onclick>Skin.ToggleSetting(HomeTVShows)</onclick>
<onclick>SetProperty(ReloadSkin,1,Home)</onclick>
<label>$LOCALIZE[20343]</label>
</control>
<control type="radiobutton" id="2103">
<width>1210</width>
<include>SettingsDialogRadioButtonVars</include>
<selected>!Skin.HasSetting(HomeMusic)</selected>
<onclick>Skin.ToggleSetting(HomeMusic)</onclick>
<onclick>SetProperty(ReloadSkin,1,Home)</onclick>
<label>$LOCALIZE[2]</label>
</control>
<control type="radiobutton" id="2104">
<width>1210</width>
<include>SettingsDialogRadioButtonVars</include>
<selected>!Skin.HasSetting(HomePrograms)</selected>
<onclick>Skin.ToggleSetting(HomePrograms)</onclick>
<onclick>SetProperty(ReloadSkin,1,Home)</onclick>
<label>$LOCALIZE[41504]</label>
</control>
</control>
<control type="grouplist" id="3">
<include>SettingsDialogGrouplistVars</include>
<visible>!IsEmpty(Window(skinsettings).property(Guide.Custom))</visible>
<control type="button" id="2400">
<visible>!Skin.HasSetting(CustomHomePanel1) + !Skin.HasSetting(CustomHomePanel2) + !Skin.HasSetting(CustomHomePanel3) + !Skin.HasSetting(CustomHomePanel4) + !Skin.HasSetting(CustomHomePanel5) + !Skin.HasSetting(CustomHomePanel6)</visible>
<onfocus>SetFocus(10)</onfocus>
</control>
<control type="button" id="2401">
<width>1210</width>
<include>SettingsDialogRadioButtonVars</include>
<onclick>Skin.SetString($INFO[Window(skinsettings).Property(Guide.Custom),Guide.Custom,.Path],$ESCINFO[Skin.String(CustomHomePanel1.Path)])</onclick>
<onclick>Skin.SetString($INFO[Window(skinsettings).Property(Guide.Custom),Guide.Custom,.Label],$INFO[Skin.String(CustomHomePanel1.Label)])</onclick>
<onclick>Skin.SetString($INFO[Window(skinsettings).Property(Guide.Custom),Guide.Custom,.Type],$INFO[Skin.String(CustomHomePanel1.Type)])</onclick>
<onclick>Action(close)</onclick>
<label>$INFO[Skin.String(CustomHomePanel1.Label)]</label>
<visible>Skin.HasSetting(CustomHomePanel1)</visible>
</control>
<control type="button" id="2402">
<width>1210</width>
<include>SettingsDialogRadioButtonVars</include>
<onclick>Skin.SetString($INFO[Window(skinsettings).Property(Guide.Custom),Guide.Custom,.Path],$ESCINFO[Skin.String(CustomHomePanel2.Path)])</onclick>
<onclick>Skin.SetString($INFO[Window(skinsettings).Property(Guide.Custom),Guide.Custom,.Label],$INFO[Skin.String(CustomHomePanel2.Label)])</onclick>
<onclick>Skin.SetString($INFO[Window(skinsettings).Property(Guide.Custom),Guide.Custom,.Type],$INFO[Skin.String(CustomHomePanel2.Type)])</onclick>
<onclick>Action(close)</onclick>
<label>$INFO[Skin.String(CustomHomePanel2.Label)]</label>
<visible>Skin.HasSetting(CustomHomePanel2)</visible>
</control>
<control type="button" id="2403">
<width>1210</width>
<include>SettingsDialogRadioButtonVars</include>
<onclick>Skin.SetString($INFO[Window(skinsettings).Property(Guide.Custom),Guide.Custom,.Path],$ESCINFO[Skin.String(CustomHomePanel3.Path)])</onclick>
<onclick>Skin.SetString($INFO[Window(skinsettings).Property(Guide.Custom),Guide.Custom,.Label],$INFO[Skin.String(CustomHomePanel3.Label)])</onclick>
<onclick>Skin.SetString($INFO[Window(skinsettings).Property(Guide.Custom),Guide.Custom,.Type],$INFO[Skin.String(CustomHomePanel3.Type)])</onclick>
<onclick>Action(close)</onclick>
<label>$INFO[Skin.String(CustomHomePanel3.Label)]</label>
<visible>Skin.HasSetting(CustomHomePanel3)</visible>
</control>
<control type="button" id="2404">
<width>1210</width>
<include>SettingsDialogRadioButtonVars</include>
<onclick>Skin.SetString($INFO[Window(skinsettings).Property(Guide.Custom),Guide.Custom,.Path],$ESCINFO[Skin.String(CustomHomePanel4.Path)])</onclick>
<onclick>Skin.SetString($INFO[Window(skinsettings).Property(Guide.Custom),Guide.Custom,.Label],$INFO[Skin.String(CustomHomePanel4.Label)])</onclick>
<onclick>Skin.SetString($INFO[Window(skinsettings).Property(Guide.Custom),Guide.Custom,.Type],$INFO[Skin.String(CustomHomePanel4.Type)])</onclick>
<onclick>Action(close)</onclick>
<label>$INFO[Skin.String(CustomHomePanel4.Label)]</label>
<visible>Skin.HasSetting(CustomHomePanel4)</visible>
</control>
</control>
<control type="scrollbar" id="61">
<posx>1269</posx>
<posy>303</posy>
<width>11</width>
<height>474</height>
<texturesliderbackground>-</texturesliderbackground>
<texturesliderbar border="0,6,0,6">dialogs/default/scrollbar.png</texturesliderbar>
<texturesliderbarfocus border="0,6,0,6">dialogs/default/scrollbar.png</texturesliderbarfocus>
<textureslidernib>-</textureslidernib>
<textureslidernibfocus>-</textureslidernibfocus>
<onleft>3</onleft>
<onright>5</onright>
<showonepage>false</showonepage>
<orientation>vertical</orientation>
<animation effect="fade" start="75" end="0" time="300" tween="sine" easing="inout" condition="!Control.HasFocus(61)">Conditional</animation>
</control>
<control type="group" id="10">
<posx>626</posx>
<posy>776</posy>
<control type="button" id="5">
<description>Close</description>
<texturefocus>buttons/cancel-fo.png</texturefocus>
<texturenofocus>buttons/cancel-nf.png</texturenofocus>
<include>DialogButtonDimensions</include>
<onleft>6</onleft>
<onright>6</onright>
<onup>3</onup>
<ondown>3</ondown>
<label>$LOCALIZE[42002]</label>
<onclick>PreviousMenu</onclick>
</control>
<control type="button" id="6">
<posx>200</posx>
<description>Edit</description>
<texturefocus>buttons/options-fo.png</texturefocus>
<texturenofocus>buttons/options-nf.png</texturenofocus>
<include>DialogButtonDimensions</include>
<onleft>5</onleft>
<onright>5</onright>
<onup>3</onup>
<ondown>3</ondown>
<label>$LOCALIZE[21435]</label>
<onclick>SetProperty(CustomDialog,1,3003)</onclick>
<onclick>SetProperty(Dialog,$LOCALIZE[41136])</onclick>
<onclick>ActivateWindow(3003)</onclick>
<visible>stringcompare(Window(skinsettings).property(Dialog),$LOCALIZE[41272]) | stringcompare(Window(skinsettings).property(Dialog),$LOCALIZE[41273]) | stringcompare(Window(skinsettings).property(Dialog),$LOCALIZE[41274]) | stringcompare(Window(skinsettings).property(Dialog),$LOCALIZE[41275])</visible>
</control>
</control>
</control>
</controls>
</window>