remove absolute paths
[enigma2.git] / data / skin.xml
1 <skin>
2                 <colors>
3                         <color name="white"     value="#ffffff" />
4                         <color name="black"     value="#000000" />
5                         <color name="dark"      value="#20294a6b" />
6
7                         <color name="red"               value="#ff0000" />
8                         <color name="green"     value="#00ff00" />
9                         <color name="blue"              value="#0000ff" />
10                         <color name="yellow"    value="#c0c000" />
11                         <color name="transparent"       value="#ffffffff" />
12
13                         <color name="transpBlack" value="#80000000" />
14                 </colors>
15                 <windowstyle type="skinned">
16                         <color name="Background" color="#33294a6b" />
17                         <color name="LabelForeground" color="#ffffff" />
18                         <color name="ListboxBackground" color="#33294a6b" />
19                         <color name="ListboxForeground" color="#ffffff" />
20                         <color name="ListboxSelectedBackground" color="#225b7395" />
21                         <color name="ListboxSelectedForeground" color="#ffffff" />
22                         <color name="ListboxMarkedBackground" color="#ff0000" />
23                         <color name="ListboxMarkedForeground" color="#ffffff" />
24                         <color name="ListboxMarkedAndSelectedBackground" color="#800000" />
25                         <color name="ListboxMarkedAndSelectedForeground" color="#ffffff" />
26                         <color name="WindowTitleForeground" color="#ffffff" />
27                         <color name="WindowTitleBackground" color="#33294a6b" />
28                         <borderset name="bsWindow">
29                                 <pixmap pos="bpTopLeft"     filename="b_w_tl.png" />
30                                 <pixmap pos="bpTop"         filename="b_w_t.png"  />
31                                 <pixmap pos="bpTopRight"    filename="b_w_tr.png" />
32                                 <pixmap pos="bpLeft"        filename="b_w_l.png"  />
33                                 <pixmap pos="bpRight"       filename="b_w_r.png"  />
34                                 <pixmap pos="bpBottomLeft"  filename="b_w_bl.png" />
35                                 <pixmap pos="bpBottom"      filename="b_w_b.png"  />
36                                 <pixmap pos="bpBottomRight" filename="b_w_br.png" />
37                         </borderset>
38                 </windowstyle>
39                 <screen name="Standby" flags="wfNoBorder" position="0,0" size="720,576" title="Standby">
40                 </screen>
41                 <screen name="Menu" position="210,150" size="300,235" title="Main menu">
42                         <widget name="title" position="10,10" size="280,35" font="Regular;23" />
43                         <!--<widget name="menu" position="10,55" size="280,150" font="Regular;23" />-->
44                         <widget name="menu" position="10,55" size="290,175" scrollbarMode="showOnDemand" />
45                 </screen>
46                 <screen name="BouquetSelector" position="210,150" size="300,195" title="Choose bouquet">
47                         <widget name="menu" position="10,10" size="280,175" scrollbarMode="showOnDemand" />
48                 </screen>
49                 <screen name="ChannelContextMenu" position="210,150" size="300,195" title="Channellist menu">
50                         <widget name="menu" position="10,10" size="280,175" scrollbarMode="showOnDemand" />
51                 </screen>
52                 <screen name="Scart" position="0,0" size="720,576">
53                 </screen>
54                 <screen name="ServiceInfo" position="100,120" size="560,370" title="Serviceinfo">
55                         <widget name="red" position="0,0" size="140,40" backgroundColor="red" valign="center" halign="center" font="Regular;21" />
56                         <widget name="green" position="140,0" size="140,40" backgroundColor="green" valign="center" halign="center" font="Regular;21" />
57                         <widget name="yellow" position="280,0" size="140,40" backgroundColor="yellow" valign="center" halign="center" font="Regular;21" />
58                         <widget name="blue" position="420,0" size="140,40" backgroundColor="blue" valign="center" halign="center" font="Regular;21" />
59                         <widget name="infolist" position="20,50" size="560,365" selectionDisabled="1"/>
60                 </screen>
61                 <screen name="AudioSelection" position="210,150" size="300,170" title="Audio">
62                         <widget name="tracks" position="20,10" size="260,150" scrollbarMode="showOnDemand" />
63                 </screen>
64                 <screen name="SubserviceSelection" position="210,150" size="300,250" title="Subservices">
65                         <widget name="subservices" position="20,10" size="260,230" scrollbarMode="showOnDemand" />
66                 </screen>
67                 <screen name="HarddiskWait" position="140,165" size="360,60">
68                         <widget name="wait" position="20,10" size="320,25" font="Regular;23"/>
69                 </screen>
70                 <screen name="HarddiskSelection" position="140,165" size="360,100" title="Select HDD">
71                         <widget name="hddlist" position="20,10" size="320,75" />
72                 </screen>
73                 <screen name="HarddiskSetup" position="140,165" size="420,160" title="Harddisk">
74                         <widget name="model" position="20,10" size="380,25" font="Regular;23"  />
75                         <widget name="capacity" position="20,40" size="380,25" font="Regular;23"  />
76                         <widget name="bus" position="20,70" size="380,25" font="Regular;23"  />
77                         <widget name="initialize" position="40,110" size="120,30" zPosition="1" pixmap="init.png" />
78                         <widget name="initializetext" position="40,110" size="120,30" valign="center" halign="center" zPosition="2" font="Regular;20" transparent="1" />
79                 </screen>
80                 <screen name="Setup" position="100,125" size="540,280" title="Setup">
81                         <widget name="title" position="10,10" size="280,35" font="Regular;23" />
82                         <widget name="config" position="10,50" size="520,175" scrollbarMode="showOnDemand" />
83                         <widget name="ok" position="140,240" size="53,30" pixmap="ok.png" />
84                         <widget name="oktext" position="140,240" size="53,30" valign="center" halign="center" zPosition="2" font="Regular;20" transparent="1" />
85                         <widget name="cancel" position="240,240" size="100,30" pixmap="cancel.png" />
86                         <widget name="canceltext" position="240,240" size="100,30" valign="center" halign="center" zPosition="2" font="Regular;20" transparent="1" />
87                 </screen>
88                 <screen name="LanguageSelection" position="200,125" size="220,250" title="Language selection">
89                         <widget name="list" position="10,0" size="190,250" scrollbarMode="showOnDemand" />
90                 </screen>
91                 <screen name="PluginBrowser" position="170,125" size="400,350" title="Plugin browser">
92                         <widget name="red" position="0,0" size="200,40" backgroundColor="red" valign="center" halign="center" font="Regular;20" />
93                         <widget name="green" position="200,0" size="200,40" backgroundColor="green" valign="center" halign="center" font="Regular;20" />
94
95                         <widget name="list" position="10,50" size="380,280" scrollbarMode="showOnDemand" />
96                 </screen>
97                 <screen name="PluginDownloadBrowser" position="170,125" size="400,350" title="Downloadable plugins">
98                         <widget name="text" position="10,00" size="380,330" zPosition="1" font="Regular;20" />
99                         <widget name="list" position="10,00" size="380,330" zPosition="2" scrollbarMode="showOnDemand" />
100                 </screen>
101                 <screen name="NimSelection" position="140,165" size="400,100" title="select Slot">
102                         <widget name="nimlist" position="20,10" size="360,75" />
103                 </screen>
104                 <screen name="CiWait" position="140,165" size="360,50" title="Common Interface">
105                         <widget name="message" position="20,10" size="320,25" font="Regular;23" />
106                 </screen>
107                 <screen name="CiSelection" position="140,165" size="360,100" title="Common Interface">
108                         <widget name="entries" position="10,10" size="340,75" />
109                 </screen>
110                 <screen name="CiMmi" position="130,165" size="450,270">
111                         <widget name="title" position="10,10" size="430,25" font="Regular;23" />
112                         <widget name="subtitle" position="10,35" size="430,25" font="Regular;23" />
113                         <widget name="entries" position="10,70" size="430,150" scrollbarMode="showOnDemand" />
114                         <widget name="bottom" position="10,230" size="430,25" font="Regular;23" />
115                 </screen>
116                 <screen name="NimSetup" position="90,98" size="560,410" title="Satconfig">
117                         <widget name="config" position="0,0" size="560,402" scrollbarMode="showOnDemand" />
118                 </screen>
119                 <screen name="ScanSetup" position="90,100" size="520,400" title="Service scan">
120                         <widget name="config" position="20,10" size="460,350" scrollbarMode="showOnDemand" />
121                         <widget name="introduction" position="20,360" size="350,30" font="Regular;23" />
122                 </screen>
123                 <screen name="ScanSimple" position="150,100" size="400,300" title="Service scan">
124                         <widget name="header" position="20,10" size="280,25" font="Regular;23"/>
125                         <widget name="config" position="20,45" size="360,200" scrollbarMode="showOnDemand" />
126                         <widget name="footer" position="20,250" size="360,25" font="Regular;23"/>
127                         <!--<widget name="introduction" position="20,360" size="280,30" font="Regular;23" />-->
128                 </screen>
129                 <screen name="TimerEntry" position="100,100" size="500,400" title="Timer entry">
130                         <widget name="config" position="5,10" size="480,350" />
131                         <widget name="ok" position="140,365" size="53,30" pixmap="ok.png" />
132                         <widget name="oktext" position="140,365" size="53,30" valign="center" halign="center" zPosition="2" font="Regular;20" transparent="1" />
133                         <widget name="cancel" position="240,365" size="100,30" pixmap="cancel.png" />
134                         <widget name="canceltext" position="240,365" size="100,30" valign="center" halign="center" zPosition="2" font="Regular;20" transparent="1" />
135                 </screen>
136                 <screen name="NetworkSetup" position="140,125" size="460,280" title="Network Setup">
137                         <widget name="config" position="10,50" size="420,175" scrollbarMode="showOnDemand" />
138                         <widget name="introduction" position="10,230" size="400,30" font="Regular;23" />
139                 </screen>
140                 <screen name="About" position="140,125" size="360,250" title="About">
141                         <widget name="text" position="10,30" size="420,20" font="Regular;18"/>
142                         <widget name="fpVersion" position="10,50" size="420,20" font="Regular;18"/>
143                         <widget name="tuner" position="10,80" size="420,20" font="Regular;18"/>
144                         <widget name="tuner0" position="10,100" size="420,20" font="Regular;18"/>
145                         <widget name="tuner1" position="10,120" size="420,20" font="Regular;18"/>
146                         <widget name="hdd" position="10,170" size="420,20" font="Regular;18"/>
147                         <widget name="hddA" position="10,190" size="420,40" font="Regular;18"/>
148                 </screen>
149                 <screen name="configOSD" position="140,125" size="460,350" title="OSD Settings">
150                         <widget name="okbutton" position="20,270" size="205,40" />
151                         <widget name="txt_alpha" position="20,20" size="110,20" />
152                         <widget name="sld_alpha" position="150,20" size="290,20" />
153                         <widget name="txt_brightness" position="20,60" size="120,20" />
154                         <widget name="sld_brightness" position="150,20" size="290,20" />
155                         <widget name="txt_gamma" position="20,100" size="120,20" />
156                         <widget name="sld_gamma" position="150,100" size="290,20" />
157                 </screen>
158                 <screen name="configTest" position="300,100" size="300,300" title="config menu">
159                         <widget name="config" position="10,30" size="420,220" />
160                 </screen>
161                 <screen name="TimerEditList" position="70,100" size="560,400" title="Timer Editor">
162                         <widget name="timerlist" position="0,45" size="560,350" scrollbarMode="showOnDemand" />
163                         <widget name="key_red" position="0,0" size="140,40" backgroundColor="red" font="Regular;21" />
164                         <widget name="key_green" position="140,0" size="140,40" backgroundColor="green" font="Regular;21" />
165                         <widget name="key_yellow" position="280,0" size="140,40" backgroundColor="yellow" font="Regular;21" />
166                         <widget name="key_blue" position="420,0" size="140,40" backgroundColor="blue" font="Regular;21" />
167                 </screen>
168                 <screen name="TimerSanityConflict" position="70,100" size="600,400" title="Timer sanity error">
169                         <widget name="timer1" position="0,45" size="290,80" scrollbarMode="showOnDemand" />
170                         <widget name="timer2" position="310,45" size="280,80" scrollbarMode="showOnDemand" />
171                         <widget name="list" position="0,160" size="250,240" scrollbarMode="showOnDemand" />
172                         <widget name="key_red" position="0,0" size="145,40" backgroundColor="red" font="Regular;21" />
173                         <widget name="key_green" position="145,0" size="145,40" backgroundColor="green" font="Regular;21" />
174                         <widget name="key_yellow" position="310,0" size="145,40" backgroundColor="yellow" font="Regular;21" />
175                         <widget name="key_blue" position="455,0" size="145,40" backgroundColor="blue" font="Regular;21" />
176                 </screen>
177                 <screen name="TimerLog" position="70,100" size="560,400" title="Timer log">
178                         <widget name="loglist" position="0,45" size="560,250" scrollbarMode="showOnDemand" />
179                         <widget name="logentry" position="0,300" size="560,140" font="Regular;20" />
180                         <widget name="key_red" position="0,0" size="140,40" backgroundColor="red" font="Regular;21" />
181                         <widget name="key_green" position="140,0" size="140,40" backgroundColor="green" font="Regular;21" />
182                         <widget name="key_yellow" position="280,0" size="140,40" backgroundColor="yellow" font="Regular;21" />
183                         <widget name="key_blue" position="420,0" size="140,40" backgroundColor="blue" font="Regular;21" />
184                 </screen>
185                 <screen name="clockDisplay" position="300,100" size="300,300">
186                         <widget name="okbutton" position="10,10" size="280,40" />
187                         <widget name="title" position="10,120" size="280,50" />
188                         <widget name="theClock" position="10,60" size="280,50" />
189                 </screen>
190                 <screen name="InfoBar" flags="wfNoBorder" position="0,380" size="720,148" title="InfoBar">
191                         <ePixmap position="0,0" zPosition="-1" size="720,148" pixmap="info-bg.png" />
192
193                         <widget name="snr" text="SNR:" position="195,0" size="40,22" font="Regular;15" transparent="1" />
194                         <widget name="agc" text="AGC:" position="275,0" size="40,22" font="Regular;15" transparent="1" />
195                         <widget name="ber" text="BER:" position="355,0" size="40,22" font="Regular;15" transparent="1" />
196                         <widget name="snr_percent" position="232,0" size="40,22" font="Regular;15" transparent="1" />
197                         <widget name="agc_percent" position="314,0" size="40,22" font="Regular;15" transparent="1" />
198                         <widget name="ber_count" position="392,0" size="53,22" font="Regular;15" transparent="1" />
199                         <widget name="snr_progress" position="447,1" size="88,6" />
200                         <widget name="agc_progress" position="447,8" size="88,6" />
201                         <widget name="ber_progress" position="447,15" size="88,6" />
202
203                         <widget name="BlinkingPoint" pixmap="record.png" position="430,31" zPosition="2" size="58,25" alphatest="on" />
204                         <widget name="CryptActive" pixmap="crypt.png" position="570,40" size="12,15" />
205                         <widget name="DolbyActive" pixmap="dolby.png" position="585,40" size="25,15" />
206                         <widget name="FormatActive" pixmap="format.png" position="613,40" size="28,15" />
207
208                         <widget name="ServiceName" position="69,26" size="427,34" font="Regular;22" backgroundColor="#101258" />
209                         <widget name="CurrentTime" position="575,10" size="90,30" backgroundColor="dark" font="Regular;19" />
210                         <widget name="Event_Now_StartTime" position="210,68" size="60,22" font="Regular;20" backgroundColor="dark" />
211                         <widget name="Event_Next_StartTime" position="210,98" size="60,22" font="Regular;20" backgroundColor="dark" />
212                         <widget name="Event_Now" position="273,68" size="282,22" font="Regular;20" backgroundColor="dark" />
213                         <widget name="Event_Next" position="273,98" size="282,22" font="Regular;20" backgroundColor="dark" />
214                         <widget name="Event_Now_Duration" position="555,68" size="100,26" font="Regular;22" backgroundColor="dark" halign="right" />
215                         <widget name="Event_Next_Duration" position="555,98" size="100,26" font="Regular;22" backgroundColor="dark" halign="right" />
216                         <widget name="Now_ProgressBar" position="304,60" size="121,8" zPosition="1" />
217
218                         <widget name="ButtonRed" pixmap="button_red.png" position="210,132" size="27,12" />
219                         <widget name="ButtonRedText" position="240,130" size="85,22" font="Regular;14" backgroundColor="blue" transparent="1" />
220                         <widget name="ButtonGreen" pixmap="button_green.png" position="320,132" size="27,12" />
221                         <widget name="ButtonGreenText" position="350,130" size="85,22" font="Regular;14" backgroundColor="blue" transparent="1" />
222                         <widget name="ButtonYellow" pixmap="button_yellow.png" position="430,132" size="27,12" />
223                         <widget name="ButtonYellowText" position="460,130" size="85,22" font="Regular;14" backgroundColor="blue" transparent="1" />
224                         <widget name="ButtonBlue" pixmap="button_blue.png" position="540,132" size="27,12" />
225                         <widget name="ButtonBlueText" position="570,130" size="85,22" font="Regular;14" backgroundColor="blue" transparent="1" />
226                 </screen>
227
228                 <screen name="MoviePlayer" flags="wfNoBorder" position="0,370" size="720,148" title="InfoBar">
229                         <ePixmap position="0,0" zPosition="-1" size="720,148" pixmap="info-bg.png" />
230                         <ePixmap position="210,83" zPosition="0" size="433,42" pixmap="dvr-buttons.png" />
231                         <!--<ePixmap position="0,0" zPosition="1" size="720,148" pixmap="movieplayer.png" />
232 -->
233 <!--                    <ePixmap position="230,70" zPosition="0" size="40,40" pixmap="rewindbutton.png" />
234                         <ePixmap position="275,70" zPosition="0" size="40,40" pixmap="playbutton.png" />
235                         <ePixmap position="320,70" zPosition="0" size="40,40" pixmap="pausebutton.png" />
236                         <ePixmap position="365,70" zPosition="0" size="40,40" pixmap="forwardbutton.png" />
237                         <ePixmap position="410,70" zPosition="0" size="40,40" pixmap="stopbutton.png" />
238                         <ePixmap position="455,70" zPosition="0" size="40,40" pixmap="recordbutton.png" />
239 -->
240 <!--                    <widget name="ServiceName" position="250,75" size="427,26" font="Regular;22" backgroundColor="#101258" />
241                         <widget name="CurrentTime" position="575,85" size="90,30" backgroundColor="dark" font="Regular;19" />
242                         <eLabel position="70,0" size="300,30" text=".oO Movie Player Oo." font="Regular;20" />
243 -->
244                         <widget name="ServiceName" position="69,25" size="427,26" font="Regular;22" backgroundColor="#101258" />
245                         <widget name="CurrentTime" position="575,10" size="90,25" backgroundColor="dark" font="Regular;19" />
246                            <!-- fixme -->
247                         <widget name="ElapsedTime" position="475,60" size="75,20" halign="left" backgroundColor="dark" font="Regular;18" />
248                         <widget name="PositionGauge" position="247,60" size="225,20" zPosition="2" pointer="position_pointer.png:3,5"/>
249                 </screen>
250
251
252                 <screen name="NumberZap" position="200,140" size="280,60" title="Channel">
253                         <widget name="channel" position="50,15" size="110,25" font="Regular;23" />
254                         <widget name="number" position="160,15" size="80,25" halign="right" font="Regular;23" />
255                 </screen>
256                 <screen name="MinuteInput" position="200,140" size="280,60" title="Seek">
257                         <widget name="minutes" position="80,15" size="160,25" halign="right" font="Regular;23" />
258                 </screen>
259                 <screen name="Volume" flags="wfNoBorder" position="450,50" size="180,60" title="Volume" zPosition="1" >
260                         <ePixmap position="0,0" zPosition="0" size="180,60" pixmap="volumeslider-fs8.png" />
261                         <widget name="Volume" zPosition="1" position="8,38" size="164,11" backgroundColor="dark" />
262                 </screen>
263                 <screen name="Mute" flags="wfNoBorder" position="100,100" size="59,80" title="Mute" zPosition="-1">
264                         <ePixmap position="0,0" size="59,80" pixmap="mute-fs8.png" />
265                 </screen>
266                 <screen name="Dish" flags="wfNoBorder" position="300,100" size="100,107" title="Dish" zPosition="-10" >
267                         <widget name="transparent" zPosition="-1" position="0,0" size="100,107" backgroundColor="transparent" />
268                         <widget name="Dishpixmap" pixmap="dish.png" position="0,0" size="100,107" />
269                 </screen>
270                 <screen name="ChannelSelection" position="90,98" size="560,417" title="Channel Selection">
271                         <widget name="list" position="00,45" size="560,364" scrollbarMode="showOnDemand" />
272                         <widget name="key_red" position="0,0" size="140,40" backgroundColor="red" font="Regular;21" />
273                         <widget name="key_green" position="140,0" size="140,40" backgroundColor="green" font="Regular;21" />
274                         <widget name="key_yellow" position="280,0" size="140,40" backgroundColor="yellow" font="Regular;21" />
275                         <widget name="key_blue" position="420,0" size="140,40" backgroundColor="blue" font="Regular;21" />
276                 </screen>
277                 <screen name="ChannelSelectionRadio" position="90,98" size="560,307" title="Channel Selection">
278                         <widget name="key_red" position="0,0" size="140,40" backgroundColor="red" font="Regular;21" />
279                         <widget name="key_green" position="140,0" size="140,40" backgroundColor="green" font="Regular;21" />
280                         <widget name="key_yellow" position="280,0" size="140,40" backgroundColor="yellow" font="Regular;21" />
281                         <widget name="key_blue" position="420,0" size="140,40" backgroundColor="blue" font="Regular;21" />
282                         <widget name="list" position="0,45" size="560,252" scrollbarMode="showOnDemand" />
283                 </screen>
284                 <screen name="RadioInfoBar" position="90,420" size="560,105" zPosition="-1">
285                         <widget name="ServiceName" position="0,0" size="390,26" font="Regular;22" backgroundColor="dark" />
286                         <widget name="BlinkingPoint" pixmap="record.png" position="400,0" zPosition="2" size="58,25" />
287                         <widget name="Clock" position="465,0" size="95,28" font="Regular;22" backgroundColor="dark" />
288                         <widget name="Now_ProgressBar" position="465,27" size="90,9" zPosition="1" borderWidth="2" />
289                         <widget name="Event_Now_StartTime" position="0,44" size="60,22" font="Regular;20" backgroundColor="dark" />
290                         <widget name="Event_Next_StartTime" position="0,74" size="60,22" font="Regular;20" backgroundColor="dark" />
291                         <widget name="Event_Now" position="80,44" size="380,22" font="Regular;20" backgroundColor="dark" />
292                         <widget name="Event_Next" position="80,74" size="380,22" font="Regular;20" backgroundColor="dark" />
293                         <widget name="Event_Now_Duration" position="470,44" size="150,22" font="Regular;20" backgroundColor="dark" />
294                         <widget name="Event_Next_Duration" position="470,74" size="150,22" font="Regular;20" backgroundColor="dark" />
295                 </screen>
296                 <screen name="SimpleChannelSelection" position="90,98" size="560,417" title="Channel Selection">
297                         <widget name="list" position="00,45" size="560,364" scrollbarMode="showOnDemand" />
298                         <widget name="key_red" position="0,0" size="140,40" backgroundColor="red" font="Regular;21" />
299                         <widget name="key_green" position="140,0" size="140,40" backgroundColor="green" font="Regular;21" />
300                         <widget name="key_yellow" position="280,0" size="140,40" backgroundColor="yellow" font="Regular;21" />
301                         <widget name="key_blue" position="420,0" size="140,40" backgroundColor="blue" font="Regular;21" />
302                 </screen>
303                 <screen name="EPGSelection" position="90,100" size="560,420" title="EPG Selection">
304                         <widget name="key_red" position="0,0" size="140,30" backgroundColor="red" font="Regular;21" />
305                         <widget name="key_green" position="140,0" size="140,30" backgroundColor="green" font="Regular;21" />
306                         <widget name="key_yellow" position="280,0" size="140,30" backgroundColor="yellow" font="Regular;21" />
307                         <widget name="key_blue" position="420,0" size="140,30" backgroundColor="blue" font="Regular;21" />
308                         <widget name="list" position="0,40" size="560,375" scrollbarMode="showOnDemand" />
309                 </screen>
310                 <screen name="EPGSelectionMulti" position="90,100" size="560,420" title="EPG Selection">
311                         <widget name="key_red" position="0,0" size="140,30" backgroundColor="red" font="Regular;21" />
312                         <widget name="key_green" position="140,0" size="140,30" backgroundColor="green" font="Regular;21" />
313                         <widget name="key_yellow" position="280,0" size="140,30" backgroundColor="yellow" font="Regular;21" />
314                         <widget name="key_blue" position="420,0" size="140,30" backgroundColor="blue" font="Regular;21" />
315                         <widget name="now_button" position="10,40" size="123,40" pixmap="button-fs8.png" />
316                         <widget name="next_button" position="143,40" size="123,40" pixmap="button-fs8.png" />
317                         <widget name="more_button" position="276,40" size="123,40" pixmap="button-fs8.png" />
318                         <widget name="now_button_sel" position="10,40" size="123,40" pixmap="button-selected-fs8.png" />
319                         <widget name="next_button_sel" position="143,40" size="123,40" pixmap="button-selected-fs8.png" />
320                         <widget name="more_button_sel" position="276,40" size="123,40" pixmap="button-selected-fs8.png" />
321                         <widget name="now_text" text="NOW" zPosition="2" position="10,40" size="123,40" transparent="1" halign="center" valign="center" font="Regular;21" />
322                         <widget name="next_text" text="NEXT" zPosition="2" position="143,40" size="123,40" transparent="1" halign="center" valign="center" font="Regular;21" />
323                         <widget name="more_text" text="MORE" zPosition="2" position="276,40" size="123,40" transparent="1" halign="center" valign="center" font="Regular;21" />
324                         <widget name="date" position="410,40" size="140,40" valign="center" halign="right" font="Regular;24" />
325                         <widget name="list" position="00,85" size="560,325" scrollbarMode="showOnDemand" />
326                 </screen>
327                 <screen name="EventView" position="100,100" size="520,380" title="Eventview">
328                         <widget name="key_red" position="0,0" size="130,30" backgroundColor="red" font="Regular;21" />
329                         <widget name="key_green" position="130,0" size="130,30" backgroundColor="green" font="Regular;21" />
330                         <widget name="key_yellow" position="260,0" size="130,30" backgroundColor="yellow" font="Regular;21" />
331                         <widget name="key_blue" position="390,0" size="130,30" backgroundColor="blue" font="Regular;21" />
332                         <widget name="epg_description" position="10,40" size="500,305" font="Regular;22" />
333                         <widget name="datetime" position="10,345" size="130,30" font="Regular;22" />
334                         <widget name="duration" position="140,345" size="100,30" font="Regular;22" />
335                         <widget name="channel" position="240,345" size="270,30" font="Regular;22" />
336                 </screen>
337                 <screen name="MovieSelection" position="90,98" size="560,415" title="Select a movie">
338                         <widget name="waitingtext" position="0,0" size="500,335" zPosition="2" font="Regular;22" />
339                         <widget name="list" position="0,0" size="560,375" zPosition="1" scrollbarMode="showOnDemand" />
340                         <widget name="freeDiskSpace" position="10,380" size="540,30" font="Regular;25" />
341                 </screen>
342                 <screen name="ServiceScan" position="200,100" size="300,330" title="Service Scan">
343                         <widget name="pass" position="10,10" size="280,30" font="Regular;20" />
344                         <widget name="scan_progress" position="10,45" size="280,20" />
345                         <widget name="scan_state" position="10,65" size="280,60" font="Regular;20" />
346                         <widget name="servicelist" position="10,135" size="280,175" selectionDisabled="1" />
347                 </screen>
348                 <screen name="InputBox" position="100,100" size="550,60" title="Input" >
349                         <widget name="text" position="0,0" size="550,25" font="Regular;20" />
350                         <widget name="input" position="0,30" size="550,25" font="Regular;20" />
351                 </screen>
352                 <screen name="ChoiceBox" position="100,100" size="550,400" title="Input" >
353                         <widget name="text" position="0,0" size="550,25" font="Regular;20" />
354                         <widget name="list" position="0,30" size="550,335" scrollbarMode="showOnDemand" />
355                         <applet type="onLayoutFinish">
356 # this should be factored out into some helper code, but currently demonstrates applets.
357 from enigma import eSize, ePoint
358
359 orgwidth = self.instance.size().width()
360 orgpos = self.instance.position()
361 textsize = self["text"].getSize()
362
363 # y size still must be fixed in font stuff...
364 textsize = (textsize[0] + 50, textsize[1] + 50)
365 count = len(self.list)
366 if count > 6:
367         count = 6
368 offset = 30 * count
369 wsizex = textsize[0] + 60
370 wsizey = textsize[1] + offset
371 if (400 > wsizex):
372         wsizex = 400
373 wsize = (wsizex, wsizey)
374
375
376 # resize
377 self.instance.resize(eSize(*wsize))
378
379 # resize label
380 self["text"].instance.resize(eSize(*textsize))
381
382 # move list
383 listsize = (wsizex, 30 * len(self.list))
384 self["list"].instance.move(ePoint(0, textsize[1]))
385 self["list"].instance.resize(eSize(*listsize))
386
387 # center window
388 newwidth = wsize[0]
389 self.instance.move(ePoint(orgpos.x() + (orgwidth - newwidth)/2, orgpos.y()))
390                         </applet>                       
391                 </screen>
392                 <screen name="TimerEdit" position="70,100" size="590,335" title="Timer Edit">
393                         <widget name="description" position="10,10" size="580,40" font="Regular;25" />
394                         <widget name="lbegin" position="405,102" size="103,30" font="Regular;25" foregroundColor="red" />
395                         <widget name="lend" position="405,158" size="103,30" font="Regular;25" foregroundColor="green" />
396                         <widget name="begin" position="508,105" size="72,35" font="Regular;25" />
397                         <widget name="end" position="508,150" size="72,35" font="Regular;25" />
398                         <widget name="apply" position="10,240" size="250,35" />
399                 </screen>
400                 <screen name="HelpMenu" flags="wfNoBorder" position="0,0" size="720,576" title="Menu">
401                         <widget name="list" position="50,100" size="450,375" scrollbarMode="showOnDemand" />
402                         <widget name="rc" pixmap="rc.png" position="540,50" zPosition="10" size="154,475" transparent="1" alphatest="on"/>
403                         <widget name="arrowup" pixmap="arrowup.png" position="585,425" zPosition="11" size="37,70" transparent="1" alphatest="on"/>
404                         <eLabel position="400,40" size="220,60" text="help..." font="Regular;50" />
405                 </screen>
406                 <screen name="PVRState" flags="wfNoBorder" position="70,70" size="150,30" backgroundColor="transpBlack" zPosition="2">
407                         <widget name="state" position="0,0" size="150,30" font="Regular;25" halign="center" 
408                                 backgroundColor="transpBlack" foregroundColor="white" />
409                 </screen>
410                 <screen name="MessageBox" position="60,300" size="600,10" title="Message">
411                         <widget name="text" position="60,10" size="520,0" font="Regular;22" />
412                         <widget name="ErrorPixmap" pixmap="error.png" position="0,0" zPosition="3" size="53,53" alphatest="on" transparent="1" />
413                         <widget name="QuestionPixmap" pixmap="question.png" position="0,0" zPosition="3" size="53,53" alphatest="on" transparent="1" />
414                         <widget name="InfoPixmap" pixmap="info.png" position="0,0" zPosition="3" size="53,53" alphatest="on" transparent="1" />
415                         <widget name="list" position="100,100" size="480,375" />
416                         <applet type="onLayoutFinish">
417 # this should be factored out into some helper code, but currently demonstrates applets.
418 from enigma import eSize, ePoint
419
420 orgwidth = self.instance.size().width()
421 orgpos = self.instance.position()
422 textsize = self["text"].getSize()
423
424 # y size still must be fixed in font stuff...
425 textsize = (textsize[0] + 50, textsize[1] + 50)
426 offset = 0
427 if self.type == self.TYPE_YESNO:
428         offset = 60
429 wsizex = textsize[0] + 60
430 wsizey = textsize[1] + offset
431 if (280 > wsizex):
432         wsizex = 280
433 wsize = (wsizex, wsizey)
434
435
436 # resize
437 self.instance.resize(eSize(*wsize))
438
439 # resize label
440 self["text"].instance.resize(eSize(*textsize))
441
442 # move list
443 listsize = (wsizex, 50)
444 self["list"].instance.move(ePoint(0, textsize[1]))
445 self["list"].instance.resize(eSize(*listsize))
446
447 # center window
448 newwidth = wsize[0]
449 self.instance.move(ePoint(orgpos.x() + (orgwidth - newwidth)/2, orgpos.y()))
450                         </applet>
451                 </screen>
452         </skin>