forked from MythTV-Themes/Steppes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
image-ui.xml
265 lines (224 loc) · 9.11 KB
/
image-ui.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
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
252
253
254
255
256
257
258
259
260
261
262
263
264
265
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE mythuitheme SYSTEM "http://www.mythtv.org/schema/mythuitheme.dtd">
<mythuitheme>
<window name="gallery">
<imagetype name="fanart">
<area>0,0,100%,100%</area>
<filename>Backgrounds/</filename>
</imagetype>
<group name="PageHeading" from="basePageHeading">
<group name="Heading">
<textarea name="text">
<value>Image Gallery</value>
</textarea>
</group>
</group>
<group name="posgroup" from="baseModeGroup">
<area>50,25,250,45</area>
<textarea name="position" from="pagemode">
<align>center</align>
<font>mysmall</font>
<extraleading>1</extraleading>
<cutdown>left</cutdown>
</textarea>
</group>
<group name="crumbgroup" from="baseModeGroup">
<area>300,25,-30,45</area>
<textarea name="breadcrumbs" from="pagemode">
<align>left,vcenter</align>
<font>mysmall</font>
<extraleading>1</extraleading>
<cutdown>left</cutdown>
</textarea>
</group>
<!-- 8x4 -->
<buttonlist name="images0" from="basegridlist">
<spacing>2</spacing>
<statetype name="buttonitem">
<state name="active">
<area>0,0,210,220</area>
</state>
<state name="selectedactive">
<area>-15,-15,240,250</area>
</state>
</statetype>
<statetype name="upscrollarrow">
<area>40,100%-15,15,15</area>
</statetype>
<statetype name="downscrollarrow">
<area>60,100%-15,15,15</area>
</statetype>
</buttonlist>
<!-- 6x3 -->
<buttonlist name="images1" from="images0">
<spacing>2</spacing>
<statetype name="buttonitem">
<state name="active">
<area>0,0,290,290</area>
</state>
<state name="selectedactive">
<area>-15,-15,320,320</area>
</state>
</statetype>
</buttonlist>
<!-- 4x2 -->
<buttonlist name="images2" from="images0">
<spacing>2</spacing>
<statetype name="buttonitem">
<state name="active">
<area>0,0,430,440</area>
</state>
<state name="selectedactive">
<area>-15,-15,460,470</area>
</state>
</statetype>
</buttonlist>
<!-- 3x1 -->
<buttonlist name="images3" from="images0">
<spacing>2</spacing>
<statetype name="buttonitem">
<state name="active">
<area>0,0,585,900</area>
</state>
<state name="selectedactive">
<area>-15,-15,615,930</area>
</state>
</statetype>
</buttonlist>
<!-- shows a message when no images are available
in the current directory -->
<group name="noimagesgroup" from="baseFloatingMsg" depends="noimages&!scanprogresstext">
<group name="msggroup">
<textarea name="noimages" from="message_text"/>
</group>
</group>
<group name="thumbgroup" from="baseFloatingMsg" depends="thumbprogresstext">
<area>600,750,-600,80</area>
<group name="msggroup">
<textarea name="thumbprogresstext" from="message_text"/>
</group>
</group>
<group name="infolistgroup" from="basevaluelistgroup" depends="infolist">
<buttonlist name="infolist" from="valuelist" />
</group>
<group name="progressgroup" depends="scanprogresstext">
<area>50%-400,100%-250,660,120</area>
<shape name="background" depends="scanprogresstext">
<area>0,0,100%,100%</area>
<type>roundbox</type>
<line color="#00FFFF" width="1" alpha="192" />
<fill color="#000000" alpha="196" />
</shape>
<progressbar name="scanprogressbar" from="baseprogressbar">
<position>30,30%</position>
</progressbar>
<textarea name="scanprogresstext" from="basetextarea">
<area>30,50%+15,-30,40</area>
<align>center</align>
<template>Scanning %1</template>
</textarea>
</group>
</window> <!-- gallery -->
<!-- Configuration dialog. This is currently
used by the MythImage plugin only -->
<window name="galleryconfig">
<group name="PageHeading" from="basePageHeading">
<group name="Heading">
<textarea name="text">
<value>Gallery Settings</value>
</textarea>
</group>
</group>
<group name="dialog">
<area>50%-600,80,1200,720</area>
<shape name="background" from="basewidgetshape">
<area>0,0,100%,100%</area>
</shape>
<textarea name="sortorder_label" from="labeltext">
<area>20,40,520,90</area>
<value>Sorting order of the shown images:</value>
</textarea>
<buttonlist name="sortorder" from="basewideselector">
<position>550,40</position>
</buttonlist>
<textarea name="slideshowtime_label" from="sortorder_label">
<position>20,130</position>
<value>Time to display each image during a slideshow (ms):</value>
</textarea>
<spinbox name="slideshowtime" from="basespinbox">
<position>550,130</position>
</spinbox>
<textarea name="transitiontime_label" from="sortorder_label">
<position>20,220</position>
<value>Duration of an image transition (ms):</value>
</textarea>
<spinbox name="transitiontime" from="basespinbox">
<position>550,220</position>
</spinbox>
<textarea name="transitiontype_label" from="sortorder_label">
<position>20,310</position>
<value>Type of transition between two images:</value>
</textarea>
<buttonlist name="transitiontype" from="basemediumselector">
<position>550,310</position>
</buttonlist>
<textarea name="showhiddenfiles_label" from="sortorder_label">
<position>20,400</position>
<value>Show files that are marked as hidden:</value>
</textarea>
<checkbox name="showhiddenfiles" from="basecheckbox">
<position>550,400</position>
</checkbox>
<textarea name="cleardatabase_label" from="sortorder_label">
<position>20,490</position>
<value>Clear database contents (Resync required):</value>
</textarea>
<checkbox name="musicdefaultupmix" from="basecheckbox">
<position>550,490</position>
</checkbox>
<!--
<shape name="description_separator">
<area>180,550,920,1</area>
<type>box</type>
<line color="#AAAAAA" alpha="150" width="1" />
</shape>
-->
<button name="save" from="varbuttonright">
<value>Save</value>
</button>
<button name="cancel" from="varbuttonleft">
<value>Cancel</value>
</button>
</group>
</window> <!-- galleryconfig -->
<!-- Slideshow window which shows the a single image only or a slideshow.
This is currently used by the MythImage plugin only -->
<window name="slideshow">
<!-- the background behind the images (black) -->
<shape name="background_shape">
<area>0,0,100%,100%</area>
<fill color="#000000" alpha="255" />
</shape>
<!-- image -->
<imagetype name="image">
<area>10,10,-10,-10</area>
<preserveaspect>yes</preserveaspect>
</imagetype>
<!-- Represents "Show Captions" state for use as a dependancy by
other widgets Set = Hide; empty = Show -->
<textarea name="hidecaptions" from="basetextarea">
<area>0,0,0,0</area>
</textarea>
<group name="statusgroup" from="baseFloatingMinMsg" depends="status&!hidecaptions">">
<area>600,860,-600,90</area>
<group name="msggroup">
<area>0,0,100%,100%</area>
<!-- End/Loading/Failed to load status -->
<textarea name="status" from="message_text"/>
</group>
</group>
<group name="infolistgroup" from="basevaluelistgroup" depends="infolist">
<buttonlist name="infolist" from="valuelist" />
</group>
</window>
</mythuitheme>