aboutsummaryrefslogtreecommitdiff
path: root/addons/skin.estuary/xml/View_50_List.xml
blob: 086db0f82732d417cd0699ac31a7aaf68b957e7a (plain)
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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
<?xml version="1.0" encoding="UTF-8"?>
<includes>
	<include name="View_50_List">
		<control type="group">
			<include>OpenClose_Right</include>
			<left>596</left>
			<visible>Control.IsVisible(50)</visible>
			<include>Visible_Right</include>
			<include content="ListContainer">
				<param name="list_id" value="50" />
				<param name="viewtype_label" value="$LOCALIZE[535]" />
			</include>
			<control type="group">
				<depth>DepthContentPanel</depth>
				<control type="group">
					<right>-20</right>
					<width>634</width>
					<include content="ContentPanel">
						<param name="left" value="0" />
						<param name="top" value="-20" />
						<param name="width" value="656" />
						<param name="flipx" value="true" />
					</include>
					<control type="scrollbar" id="50600">
						<left>20</left>
						<top>list_y_offset</top>
						<width>12</width>
						<bottom>list_y_offset</bottom>
						<onleft>50</onleft>
						<onright>50</onright>
						<orientation>vertical</orientation>
						<animation effect="zoom" end="50,100" time="300" tween="sine" center="20,0" easing="inout" condition="!Control.HasFocus(50600)">conditional</animation>
					</control>
					<control type="image">
						<depth>DepthContentPopout</depth>
						<left>38</left>
						<right>36</right>
						<top>120</top>
						<bottom>124</bottom>
						<fadetime>200</fadetime>
						<aspectratio aligny="center">keep</aspectratio>
						<texture fallback="DefaultVideo.png" background="true">$VAR[InfoWallThumbVar]</texture>
					</control>
					<control type="group">
						<left>310</left>
						<top>936</top>
						<include content="UserRatingCircle">
							<param name="animation" value="True" />
						</include>
					</control>
				</control>
			</control>
		</control>
	</include>
	<include name="ListContainer">
		<control type="fixedlist" id="$PARAM[list_id]">
			<left>0</left>
			<width>list_width</width>
			<top>list_y_offset</top>
			<bottom>list_y_offset</bottom>
			<movement>5</movement>
			<focusposition>6</focusposition>
			<scrolltime tween="cubic" easing="out">500</scrolltime>
			<orientation>vertical</orientation>
			<pagecontrol>$PARAM[list_id]600</pagecontrol>
			<onleft>9000</onleft>
			<onright>$PARAM[list_id]600</onright>
			<onup>$PARAM[list_id]</onup>
			<ondown>$PARAM[list_id]</ondown>
			<viewtype label="$PARAM[viewtype_label]">list</viewtype>
			<visible>Container.Content(movies) | Container.Content(sets) | Container.Content(tvshows) | Container.Content(seasons) | Window.IsActive(MyPlaylist.xml)</visible>
			<focusedlayout height="list_item_height" width="list_width">
				<control type="image">
					<left>0</left>
					<right>0</right>
					<top>0</top>
					<bottom>0</bottom>
					<texture colordiffuse="button_focus">lists/focus.png</texture>
					<visible>Control.HasFocus($PARAM[list_id])</visible>
				</control>
				<control type="label">
					<left>70</left>
					<right>70</right>
					<top>0</top>
					<bottom>0</bottom>
					<aligny>center</aligny>
					<scroll>true</scroll>
					<font>font27</font>
					<label>$INFO[ListItem.Label]</label>
					<shadowcolor>text_shadow</shadowcolor>
				</control>
				<control type="label">
					<top>0</top>
					<bottom>0</bottom>
					<left>100</left>
					<right>20</right>
					<align>right</align>
					<aligny>center</aligny>
					<font>font12</font>
					<label>$VAR[ListLabel2Var]</label>
					<animation effect="fade" start="70" end="100" time="300" reversible="false">Focus</animation>
					<shadowcolor>text_shadow</shadowcolor>
				</control>
				<control type="image">
					<left>21</left>
					<centertop>50%</centertop>
					<width>32</width>
					<height>32</height>
					<texture>$VAR[ListWatchedIconVar]</texture>
					<animation effect="fade" start="30" end="100" time="300" reversible="false">Focus</animation>
				</control>
				<control type="image">
					<left>21</left>
					<centertop>50%</centertop>
					<width>32</width>
					<height>32</height>
					<texture colordiffuse="button_focus">$VAR[ListWatchedIconVar]</texture>
					<animation effect="fade" start="0" end="100" time="300" reversible="false">Focus</animation>
					<animation effect="fade" time="150">VisibleChange</animation>
					<visible>!Control.HasFocus($PARAM[list_id])</visible>
				</control>
			</focusedlayout>
			<itemlayout height="list_item_height" width="list_width">
				<control type="label">
					<left>70</left>
					<right>70</right>
					<top>0</top>
					<bottom>0</bottom>
					<aligny>center</aligny>
					<font>font27</font>
					<label>$INFO[ListItem.Label]</label>
					<shadowcolor>text_shadow</shadowcolor>
				</control>
				<control type="label">
					<left>20</left>
					<right>20</right>
					<top>0</top>
					<bottom>0</bottom>
					<align>right</align>
					<aligny>center</aligny>
					<font>font12</font>
					<label>$VAR[ListLabel2Var]</label>
					<textcolor>grey</textcolor>
					<shadowcolor>text_shadow</shadowcolor>
				</control>
				<control type="image">
					<left>21</left>
					<centertop>50%</centertop>
					<width>32</width>
					<height>32</height>
					<texture colordiffuse="grey">$VAR[ListWatchedIconVar]</texture>
				</control>
			</itemlayout>
		</control>
	</include>
	<include name="ListThumbInfoPanel">
		<param name="flip_bg">false</param>
		<definition>
			<control type="group">
				<depth>DepthContentPanel</depth>
				<include content="ContentPanel">
					<param name="width" value="654" />
					<param name="flipx" value="$PARAM[flip_bg]" />
				</include>
				<control type="image">
					<left>30</left>
					<top>140</top>
					<width>530</width>
					<height>470</height>
					<aspectratio aligny="bottom">keep</aspectratio>
					<fadetime>300</fadetime>
					<texture background="true">$VAR[IconWallThumbVar]</texture>
				</control>
				<control type="group">
					<left>273</left>
					<top>590</top>
					<include>UserRatingCircle</include>
				</control>
				<control type="textbox" id="15500">
					<left>30</left>
					<top>640</top>
					<width>525</width>
					<bottom>117</bottom>
					<autoscroll time="3000" delay="7000" repeat="5000">!System.HasModalDialog + Skin.HasSetting(AutoScroll)</autoscroll>
					<label>$VAR[ListBoxInfoVar]</label>
					<visible>!Container.Content() | !String.isempty(ListItem.Plot)</visible>
				</control>
				<control type="group">
					<left>20</left>
					<top>640</top>
					<visible>ListItem.IsCollection</visible>
					<include content="InfoList">
						<param name="bottom" value="100" />
						<param name="width" value="540" />
						<param name="sortby" value="year" />
						<param name="sortorder" value="descending" />
						<param name="font" value="font13" />
					</include>
				</control>
				<control type="group">
					<visible>String.IsEmpty(Control.GetLabel(15500)) + !ListItem.IsCollection</visible>
					<control type="textbox">
						<left>30</left>
						<top>460</top>
						<width>530</width>
						<height>413</height>
						<align>center</align>
						<aligny>center</aligny>
						<font>font27</font>
						<textcolor>80FFFFFF</textcolor>
						<label>$LOCALIZE[19055]</label>
						<visible>!ListItem.IsParentFolder</visible>
						<visible>!Integer.IsGreater(Container(42000).NumItems,0) + !Integer.IsGreater(Container(43000).NumItems,0)</visible>
						<visible>!Container.Content() | !String.isempty(ListItem.Plot)</visible>
					</control>
					<control type="group">
						<left>20</left>
						<top>640</top>
						<visible>!String.IsEmpty(ListItem.DBID)</visible>
						<control type="group">
							<visible>String.IsEqual(ListItem.DBType,artist)</visible>
							<include content="InfoList">
								<param name="list_id" value="42000" />
								<param name="bottom" value="100" />
								<param name="width" value="540" />
								<param name="sortby" value="year" />
								<param name="sortorder" value="descending" />
								<param name="font" value="font13" />
								<param name="path" value="$INFO[ListItem.FolderPath]" />
								<param name="item_label" value="$INFO[ListItem.Year,[COLOR button_focus],[/COLOR]  -  ]$INFO[ListItem.Label]" />
							</include>
						</control>
						<control type="group">
							<visible>String.IsEqual(ListItem.DBType,album)</visible>
							<include content="InfoList">
								<param name="list_id" value="43000" />
								<param name="bottom" value="100" />
								<param name="width" value="540" />
								<param name="sortby" value="track" />
								<param name="sortorder" value="ascending" />
								<param name="font" value="font13" />
								<param name="path" value="$INFO[ListItem.FolderPath]" />
								<param name="item_label" value="$INFO[ListItem.Duration,[COLOR button_focus],[/COLOR]  -  ]$INFO[ListItem.Label]" />
							</include>
						</control>
					</control>
				</control>
			</control>
		</definition>
	</include>
</includes>