forked from hambre/Monochrome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
image-ui.xml
159 lines (151 loc) · 5.81 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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE mythuitheme SYSTEM "http://www.mythtv.org/schema/mythuitheme.dtd">
<mythuitheme>
<window name="gallery" include="image-base.xml">
<group name="decoration" from="basewindowdecoration"/>
<textarea name="title" from="basepagetitletext">
<value>Image Gallery</value>
</textarea>
<!-- smallest image list 10x5 -->
<buttonlist name="images0" from="imagelist">
<area>35,60,-25,-60</area>
<statetype name="buttonitem">
<area>0,0,165,175</area>
<state name="active">
<area>0,0,165,175</area>
</state>
<state name="selectedactive">
<area>0,0,165,175</area>
</state>
</statetype>
</buttonlist>
<!-- small image list 9x4 -->
<buttonlist name="images1" from="imagelist">
<area>40,70,-25,-60</area>
<statetype name="buttonitem">
<area>0,0,185,220</area>
<state name="active">
<area>0,0,185,220</area>
</state>
<state name="selectedactive">
<area>0,0,185,220</area>
</state>
</statetype>
</buttonlist>
<!-- big image list 7x3 -->
<buttonlist name="images2" from="imagelist">
<area>35,70,-25,-60</area>
<statetype name="buttonitem">
<area>0,0,245,300</area>
<state name="active">
<area>0,0,245,300</area>
</state>
<state name="selectedactive">
<area>0,0,245,300</area>
</state>
</statetype>
</buttonlist>
<!-- biggest image list 5x2 -->
<buttonlist name="images3" from="imagelist">
<area>40,80,-25,-60</area>
<statetype name="buttonitem">
<area>0,0,350,450</area>
<state name="active">
<area>0,0,350,450</area>
</state>
<state name="selectedactive">
<area>0,0,350,450</area>
</state>
</statetype>
</buttonlist>
<textarea name="noimages" from="basetext_m">
<area>50%-250,500,500,300</area>
<align>center</align>
<multiline>yes</multiline>
</textarea>
<buttonlist name="infolist" from="imageinfolist">
<area>25,75,550,-75</area>
</buttonlist>
<!-- footer -->
<textarea name="typefilter" from="basetext_s">
<area>25,100%-50,100,50</area>
<alpha>150</alpha>
</textarea>
<textarea name="hidefilter" from="basetext_s">
<area>150,100%-50,150,50</area>
<alpha>150</alpha>
</textarea>
<textarea name="caption" from="basetext_s">
<area>325,100%-50,100%-325,50</area>
<alpha>150</alpha>
<align>center</align>
</textarea>
<textarea name="position" from="basetext_s">
<area>100%-150,100%-50,125,50</area>
<alpha>150</alpha>
<align>right,vcenter</align>
</textarea>
<group name="scanpopup" depends="scanprogresstext">
<area>50%-375,0,750,175</area>
<animation trigger="AboutToShow">
<section duration="500" centre="middle">
<position start="-1,-250" end="-1,0" easingcurve="OutBack" />
</section>
</animation>
<group name="decoration" from="basepopupdecoration"/>
<textarea name="scanprogresstext" from="basetext_s">
<area>50,100%-100,-50,40</area>
<alpha>200</alpha>
<align>center</align>
</textarea>
<progressbar name="scanprogressbar" from="baseprogress_s">
<area>50,100%-37,-50,12</area>
</progressbar>
</group>
</window>
<!--====================================================================-->
<window name="slideshow" include="image-base.xml">
<shape name="background" from="basebackground"/>
<imagetype name="image">
<area>0,0,100%,100%</area>
<preserveaspect>true</preserveaspect>
</imagetype>
<!-- this sucks, we have no way to show/hide a decoration for the details list
<group name="basesidebar" depends="infolist">
<area>0, 0, 600, 100%</area>
<shape name="contentbar" from="basebar">
<area>0, 0, 100%, 100%</area>
<alpha>225</alpha>
</shape>
<shape name="contentsep" from="baseseparator_v">
<position>100%, 0</position>
</shape>
</group>
-->
<buttonlist name="infolist" from="imageinfolist">
<area>25,75,550,-75</area>
</buttonlist>
<textarea name="hidecaptions">
<alpha>0</alpha>
</textarea>
<group name="footer" from="basefooter" depends="!hidecaptions">
<shape name="footerbar">
<alpha>200</alpha>
</shape>
<textarea name="status" from="basetext_s">
<area>25,100%-50,150,50</area>
<alpha>150</alpha>
</textarea>
<textarea name="caption" from="basetext_s">
<area>200,100%-50,100%-200,50</area>
<alpha>150</alpha>
<align>center</align>
</textarea>
<textarea name="slidecount" from="basetext_s">
<area>100%-150,100%-50,125,50</area>
<alpha>150</alpha>
<align>right,vcenter</align>
</textarea>
</group>
</window>
</mythuitheme>