-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathnews-ui.xml
227 lines (184 loc) · 7.34 KB
/
news-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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE mythuitheme SYSTEM "http://www.mythtv.org/schema/mythuitheme.dtd">
<mythuitheme>
<!-- shows the news with its short description -->
<window name="news">
<imagetype name="background" from="base_background"/>
<textarea name="heading" from="base_heading">
<position>0,0</position>
<textarea name="text">
<value>News</value>
</textarea>
</textarea>
<shape name="newslist_background" from="base_background_shape">
<area>120,50,1040,470</area>
</shape>
<textarea name="nosites" from="base_textarea">
<area>335,65,610,440</area>
<align>allcenter</align>
<value>You Haven't Specified Any News Feeds.</value>
<multiline>yes</multiline>
</textarea>
<buttonlist name="siteslist" from="base_buttonlist">
<area>135,65,350,435</area>
</buttonlist>
<!-- the buttonlist widget with a width of 480px -->
<buttonlist name="articleslist" from="base_buttonlist">
<area>495,65,650,435</area>
<statetype name="buttonitem">
<state name="active">
<area>0,0,650,36</area>
<textarea name="buttontext" from="base_textarea">
<area>8,0,100%-16,36</area>
<scroll direction="horizontal" rate="35"/>
</textarea>
</state>
<state name="inactive" from="active" />
<state name="selectedactive">
<area>0,0,650,36</area>
<textarea name="buttontext" from="base_textarea">
<area>8,0,100%-16,36</area>
<scroll direction="horizontal" />
</textarea>
</state>
<state name="selectedinactive">
<area>0,0,650,36</area>
<textarea name="buttontext" from="base_textarea">
<area>8,0,100%-16,36</area>
<scroll direction="horizontal" rate="35"/>
</textarea>
</state>
</statetype>
</buttonlist>
<shape name="news_details_background" from="base_background_shape">
<area>20,540,1240,165</area>
</shape>
<textarea name="title" from="base_textarea">
<area>35,550,1210,36</area>
<font>title</font>
<scroll direction="horizontal" rate="35"/>
</textarea>
<textarea name="updated" from="base_textarea">
<area>35,580,900,36</area>
</textarea>
<!-- optional status icons -->
<!-- imagetype name="thumbnail"
imagetype name="download"
imagetype name="enclosures"
imagetype name="ispodcast" -->
<shape name="description_separator" from="base_background_shape">
<area>21,617,1238,1</area>
</shape>
<textarea name="description" from="base_textarea">
<area>35,627,1210,63</area>
<multiline>yes</multiline>
<scroll direction="vertical" rate="10"/>
<align>left,bottom</align>
</textarea>
</window>
<!-- Allows the user to add a new news site -->
<window name="editor">
<imagetype name="background" from="base_background"/>
<textarea name="heading" from="base_heading">
<position>0,0</position>
<textarea name="text">
<value>Edit News</value>
</textarea>
</textarea>
<shape name="darken_background" from="base_darken_background" />
<shape name="editor_background" from="base_background_shape_dark">
<area>300,185,670,330</area>
</shape>
<textarea name="title" from="base_textarea">
<area>315,195,640,60</area>
<align>allcenter</align>
<scroll direction="vertical" rate="10"/>
</textarea>
<shape name="title_separator" from="base_background_shape">
<area>301,265,668,1</area>
</shape>
<textarea name="namelabel" from="base_textarea">
<area>315,280,150,36</area>
<align>right,vcenter</align>
<value>Name:</value>
</textarea>
<textarea name="urllabel" from="namelabel">
<position>315,320</position>
<value>URL:</value>
</textarea>
<textarea name="iconlabel" from="namelabel">
<position>315,360</position>
<value>Icon:</value>
</textarea>
<textarea name="podcast_check_label" from="namelabel">
<position>315,400</position>
<value>Podcast:</value>
</textarea>
<textedit name="name" from="base_textedit_wide">
<position>475,280</position>
</textedit>
<textedit name="url" from="base_textedit_wide">
<position>475,320</position>
</textedit>
<textedit name="icon" from="base_textedit_wide">
<position>475,360</position>
</textedit>
<checkbox name="podcast_check" from="base_checkbox">
<position>475,400</position>
</checkbox>
<shape name="button_separator" from="base_background_shape">
<area>301,450,668,1</area>
</shape>
<button name="ok" from="base_button">
<position>485,465</position>
<value>Ok</value>
</button>
<button name="cancel" from="base_button">
<position>650,465</position>
<value>Cancel</value>
</button>
</window>
<!-- This is the configuration window for mythnews -->
<window name="config">
<imagetype name="background" from="base_background"/>
<textarea name="heading" from="base_heading">
<position>0,0</position>
<textarea name="text">
<value>News Config</value>
</textarea>
</textarea>
<shape name="newsconfig_background" from="base_background_shape">
<area>195,90,870,565</area>
</shape>
<textarea name="category_label" from="base_textarea">
<area>212,100,350,20</area>
<value>Available Categories</value>
<font>text_small</font>
</textarea>
<textarea name="sites_label" from="base_textarea">
<area>572,100,350,20</area>
<value>Available Sites</value>
<font>text_small</font>
</textarea>
<buttonlist name="category" from="base_buttonlist">
<area>210,125,350,512</area>
</buttonlist>
<buttonlist name="sites" from="base_buttonlist">
<area>570,125,480,512</area>
<statetype name="buttonitem">
<state name="active">
<area>0,0,480,36</area>
</state>
<state name="inactive">
<area>0,0,480,36</area>
</state>
<state name="selectedactive">
<area>0,0,480,36</area>
</state>
<state name="selectedinactive">
<area>0,0,480,36</area>
</state>
</statetype>
</buttonlist>
</window>
</mythuitheme>