aboutsummaryrefslogtreecommitdiff
path: root/addons/skin.estuary/xml/View_53_Shift.xml
blob: b654002b1d7c5e4002a08eb3e4595313307e29fa (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
<?xml version="1.0" encoding="UTF-8"?>
<includes>
	<include name="View_53_Shift">
		<control type="group">
			<description>Poster Viewtype</description>
			<centertop>50%</centertop>
			<left>0</left>
			<height>880</height>
			<control type="group">
				<visible>Control.IsVisible(53)</visible>
				<animation effect="fade" start="0" end="100" time="300">WindowOpen</animation>
				<animation effect="fade" start="100" end="0" time="300">WindowClose</animation>
				<animation effect="fade" time="200">VisibleChange</animation>
				<control type="image">
					<left>0</left>
					<top>760</top>
					<width>100%</width>
					<height>110</height>
					<texture colordiffuse="E6FFFFFF">dialogs/dialog-bg-nobo.png</texture>
				</control>
				<control type="image">
					<left>0</left>
					<top>35</top>
					<width>100%</width>
					<height>190</height>
					<texture colordiffuse="E6FFFFFF">dialogs/dialog-bg-nobo.png</texture>
				</control>
			</control>
			<control type="group">
				<visible>Control.IsVisible(53)</visible>
				<include>Visible_Right</include>
				<include>OpenClose_Right</include>
				<top>160</top>
				<control type="image">
					<left>600</left>
					<top>600</top>
					<width>340</width>
					<height>110</height>
					<visible>Control.HasFocus(53)</visible>
					<animation effect="fade" time="200">VisibleChange</animation>
					<texture colordiffuse="button_focus">colors/grey.png</texture>
					<animation effect="slide" start="0,0" end="-364,0" time="300" tween="sine" easing="inout" condition="Integer.IsEqual(Container.Position,1) | Integer.IsEqual(Container.Position,0)">Conditional</animation>
					<animation effect="slide" start="0,0" end="-364,0" time="300" tween="sine" easing="inout" condition="Integer.IsEqual(Container.Position,0)">Conditional</animation>
					<animation effect="slide" start="0,0" end="364,0" time="300" tween="sine" easing="inout" condition="Integer.IsEqual(Container.Position,3) | Integer.IsEqual(Container.Position,4)">Conditional</animation>
					<animation effect="slide" start="0,0" end="364,0" time="300" tween="sine" easing="inout" condition="Integer.IsEqual(Container.Position,4)">Conditional</animation>
				</control>
				<control type="fixedlist" id="53">
					<left>-150</left>
					<top>0</top>
					<width>111%</width>
					<height>695</height>
					<focusposition>1</focusposition>
					<movement>0</movement>
					<pagecontrol>5199</pagecontrol>
					<scrolltime tween="cubic" easing="out">500</scrolltime>
					<orientation>horizontal</orientation>
					<visible>Container.Content(movies) | Container.Content(sets) | Container.Content(tvshows) | Container.Content(seasons) | Container.Content(musicvideos) | Container.Content(artists) | Container.Content(albums) | Container.Content(mixed) | Container.Content(images) | Container.Content(videos) | Container.Content(games) | Container.Content(favourites)</visible>
					<onleft>53</onleft>
					<onup>9000</onup>
					<ondown>5199</ondown>
					<onright>53</onright>
					<preloaditems>1</preloaditems>
					<viewtype label="31100">icon</viewtype>
					<itemlayout width="370">
						<include content="ShiftImageBox" />
					</itemlayout>
					<focusedlayout width="370">
						<include content="ShiftImageBox" />
					</focusedlayout>
				</control>
			</control>
			<control type="group">
				<visible>Control.IsVisible(53)</visible>
				<include>Visible_Right</include>
				<include>OpenClose_Right</include>
				<control type="group">
					<width>50%</width>
					<include content="ShiftTextbox">
						<param name="textbox_id" value="53200" />
						<param name="textbox_content" value="$VAR[ShiftLeftTextBoxVar]" />
					</include>
				</control>
				<control type="group">
					<left>50%</left>
					<width>50%</width>
					<include content="ShiftTextbox">
						<param name="textbox_id" value="53300" />
						<param name="textbox_content" value="$VAR[ShiftRightTextBoxVar]" />
					</include>
				</control>
				<control type="panel">
					<left>20</left>
					<top>48</top>
					<width>940</width>
					<height>180</height>
					<orientation>horizontal</orientation>
					<visible>ListItem.IsCollection</visible>
					<animation effect="fade" time="200">VisibleChange</animation>
					<focusedlayout height="40" width="470">
						<control type="label">
							<textoffsetx>10</textoffsetx>
							<height>40</height>
							<width>460</width>
							<aligny>center</aligny>
							<label>$INFO[ListItem.Year,[COLOR button_focus],[/COLOR]  -  ]$INFO[ListItem.Title]</label>
							<shadowcolor>text_shadow</shadowcolor>
						</control>
					</focusedlayout>
					<itemlayout height="40" width="470">
						<control type="label">
							<textoffsetx>10</textoffsetx>
							<height>40</height>
							<width>460</width>
							<aligny>center</aligny>
							<label>$INFO[ListItem.Year,[COLOR button_focus],[/COLOR]  -  ]$INFO[ListItem.Title]</label>
							<shadowcolor>text_shadow</shadowcolor>
						</control>
					</itemlayout>
					<content sortby="year" sortorder="ascending">$VAR[InfoListPathVar]</content>
				</control>
			</control>
		</control>
	</include>
	<include name="ShiftImageBox">
		<control type="image">
			<left>18</left>
			<top>90</top>
			<width>334</width>
			<height>480</height>
			<aspectratio aligny="center">stretch</aspectratio>
			<texture>dialogs/dialog-bg-nobo.png</texture>
			<bordertexture border="21" infill="false">overlays/shadow.png</bordertexture>
			<bordersize>20</bordersize>
			<visible>String.IsEmpty(ListItem.Art(thumb)) + !Container.Content(albums) | String.IsEmpty(ListItem.Art(poster)) + [Container.Content(movies) | Container.Content(tvshows)]</visible>
		</control>
		<control type="image">
			<depth>DepthContentPopout</depth>
			<left>18</left>
			<top>90</top>
			<width>334</width>
			<height>480</height>
			<aspectratio aligny="center">keep</aspectratio>
			<texture fallback="DefaultVideo.png" background="true">$VAR[ShiftThumbVar]</texture>
			<bordertexture border="21" infill="false">overlays/shadow.png</bordertexture>
			<bordersize>20</bordersize>
			<visible>String.IsEmpty(ListItem.Art(poster))</visible>
		</control>
		<control type="image">
			<depth>DepthContentPopout</depth>
			<left>18</left>
			<top>90</top>
			<width>334</width>
			<height>480</height>
			<aspectratio aligny="center">scale</aspectratio>
			<texture fallback="DefaultVideo.png" background="true">$VAR[ShiftThumbVar]</texture>
			<bordertexture border="21" infill="false">overlays/shadow.png</bordertexture>
			<bordersize>20</bordersize>
			<visible>!String.IsEmpty(ListItem.Art(poster))</visible>
		</control>
		<control type="textbox">
			<left>20</left>
			<top>603</top>
			<width>330</width>
			<height>105</height>
			<align>center</align>
			<aligny>center</aligny>
			<label>$INFO[ListItem.Label]</label>
		</control>
		<include>IconStatusOverlay</include>
		<control type="group">
			<left>158</left>
			<top>92</top>
			<include condition="Skin.HasSetting(circle_rating) | Skin.HasSetting(circle_userrating)">RatingCircle</include>
		</control>
		<control type="progress">
			<left>32</left>
			<top>530</top>
			<width>298</width>
			<height>1</height>
			<texturebg></texturebg>
			<midtexture colordiffuse="button_focus" border="3">progress/texturebg_alt_white.png</midtexture>
			<info>ListItem.PercentPlayed</info>
			<visible>!Integer.IsEqual(ListItem.PercentPlayed,0)</visible>
		</control>
	</include>
	<include name="ShiftTextbox">
		<control type="group">
			<animation effect="fade" time="200" start="0" end="100" condition="!String.IsEmpty(Control.GetLabel($PARAM[textbox_id]))">Conditional</animation>
			<animation effect="fade" time="200" start="100" end="0" condition="String.IsEmpty(Control.GetLabel($PARAM[textbox_id]))">Conditional</animation>
			<control type="textbox" id="$PARAM[textbox_id]">
				<left>30</left>
				<top>45</top>
				<right>30</right>
				<height>163</height>
				<label>$PARAM[textbox_content]</label>
				<shadowcolor>text_shadow</shadowcolor>
			</control>
		</control>
	</include>
	<include name="IconStatusOverlay">
		<control type="group">
			<visible>String.IsEqual(ListItem.DBtype,tvshow) | String.IsEqual(ListItem.DBType,season) | ListItem.IsRecording | ListItem.HasReminder | ListItem.HasTimer | ListItem.IsCollection | ListItem.HasVideoVersions | ListItem.IsPlaying | ListItem.IsResumable | ListItem.HasArchive | Integer.IsGreater(ListItem.Playcount,0)</visible>
			<control type="image">
				<left>38</left>
				<top>500</top>
				<width>294</width>
				<height>50</height>
				<texture colordiffuse="CCFFFFFF">overlays/overlayfade.png</texture>
				<visible>!String.IsEmpty(ListItem.Art(poster))</visible>
			</control>
			<control type="label">
				<left>75</left>
				<top>522</top>
				<width>222</width>
				<height>24</height>
				<label>$VAR[WatchedStatusVar]</label>
				<font>font20_title</font>
				<shadowcolor>text_shadow</shadowcolor>
				<align>right</align>
				<aligny>center</aligny>
				<visible>String.IsEqual(ListItem.DBtype,tvshow) | String.IsEqual(ListItem.DBtype,set) | String.IsEqual(ListItem.DBType,season)</visible>
			</control>
			<control type="image">
				<left>302</left>
				<top>522</top>
				<width>24</width>
				<height>24</height>
				<texture>lists/played-total.png</texture>
				<align>right</align>
				<aligny>center</aligny>
				<visible>String.IsEqual(ListItem.DBtype,tvshow) | String.IsEqual(ListItem.DBtype,set) | String.IsEqual(ListItem.DBType,season)</visible>
			</control>
			<control type="image">
				<left>45</left>
				<top>522</top>
				<width>24</width>
				<height>24</height>
				<align>left</align>
				<aligny>center</aligny>
				<texture>$VAR[WallWatchedIconVar]</texture>
			</control>
		</control>
	</include>
</includes>