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