finally use new styled skins for infobar, menu
[openblackhole/openblackhole-enigma2.git] / data / skin_default.xml
1 <skin>
2         <screen name="Standby" flags="wfNoBorder" position="0,0" size="720,576" title="Standby">
3         </screen>
4         <screen name="Menu" position="210,150" size="300,265" title="Main menu">
5                 <widget name="title" position="10,10" size="280,35" font="Regular;23" />
6                 <!--<widget name="menu" position="10,55" size="280,150" font="Regular;23" />-->
7                 <widget source="menu" render="Listbox" position="10,55" size="290,205" scrollbarMode="showOnDemand" >
8                         <convert type="StringList" />
9                 </widget>
10         </screen>
11         <screen name="BouquetSelector" position="210,150" size="300,195" title="Choose bouquet">
12                 <widget name="menu" position="10,10" size="280,175" scrollbarMode="showOnDemand" />
13         </screen>
14         <screen name="ChannelContextMenu" position="210,150" size="300,195" title="Channellist menu">
15                 <widget name="menu" position="10,10" size="280,175" scrollbarMode="showOnDemand" />
16         </screen>
17         <screen name="Scart" position="0,0" size="720,576">
18         </screen>
19         <screen name="MediaPlayer" position="104,83" size="512,442" title="MediaPlayer">
20                 <eLabel position="11,9" zPosition="1" size="359,78" backgroundColor="#182C40" />                
21                 <widget name="artisttext" position="13,11" zPosition="3" size="65,17" font="Regular;16" valign="top" foregroundColor="#cccccc" backgroundColor="#33294a6b" shadowColor="#000000" shadowOffset="-2,-2"/>
22                 <widget name="artist" position="78,11" zPosition="3" size="290,17" font="Regular;16" valign="top" foregroundColor="#dddddd" backgroundColor="#33294a6b" />
23                 <widget name="albumtext" position="13,30" zPosition="3" size="65,17" font="Regular;16" valign="top" foregroundColor="#cccccc" backgroundColor="#33294a6b" shadowColor="#000000" shadowOffset="-2,-2"/>
24                 <widget name="album" position="78,30" zPosition="3" size="290,17" font="Regular;16" valign="top" foregroundColor="#dddddd" backgroundColor="#33294a6b" />
25                 <widget name="yeartext" position="13,49" zPosition="3" size="65,17" font="Regular;16" valign="top" foregroundColor="#cccccc" backgroundColor="#33294a6b" shadowColor="#000000" shadowOffset="-2,-2"/>
26                 <widget name="year" position="78,49" zPosition="3" size="290,17" font="Regular;16" valign="top" foregroundColor="#dddddd" backgroundColor="#33294a6b" />
27                 <widget name="genretext" position="13,68" zPosition="3" size="65,17" font="Regular;16" valign="top" foregroundColor="#cccccc" backgroundColor="#33294a6b" shadowColor="#000000" shadowOffset="-2,-2"/>
28                 <widget name="genre" position="78,68" zPosition="3" size="290,17" font="Regular;16" valign="top" foregroundColor="#dddddd" backgroundColor="#33294a6b" />
29                 <widget name="titletext" position="0,0" zPosition="3" size="0,0" font="Regular;16" valign="top" backgroundColor="#33294a6b" />
30                 <eLabel name="nowPlaying" position="13,97" zPosition="3" size="355,14" text="Now Playing" font="Regular;12" foregroundColor="#00ff66" backgroundColor="#33294a6b" shadowColor="#000000" shadowOffset="-1,-1"/>
31                 <widget name="title" position="13,111" zPosition="3" size="355,18" font="Regular;16" valign="top" backgroundColor="#33294a6b" />
32                 <eLabel position="383,9" zPosition="1" size="120,120" backgroundColor="#182C40" />                                      
33                 <widget name="coverArt" position="385,11" zPosition="3" size="116,116" pixmap="no_coverArt.png" transparent="1" alphatest="on" />       
34                 <eLabel position="11,137" zPosition="1" size="491,109" backgroundColor="#182C40" />             
35                 <widget name="filelist" position="13,139" zPosition="2" size="487,105" scrollbarMode="showOnDemand" />  
36                 <eLabel position="11,251" zPosition="1" size="491,109" backgroundColor="#182C40" />                             
37                 <widget name="playlist" position="13,253" zPosition="2" size="487,105" scrollbarMode="showOnDemand" selectionDisabled="1" />
38                 <eLabel position="11,365" zPosition="1" size="491,12" backgroundColor="#182C40" />                                                              
39                 <widget name="PositionGauge" position="13,367" size="487,8" zPosition="3" pointer="position_pointer.png:3,8" backgroundColor="#33294a6b" />
40                 <widget name="currenttext" position="13,383" zPosition="3" size="490,18" font="Regular;16" halign="center" foregroundColor="#dddddd" /> 
41                 <ePixmap position="170,406" zPosition="1" size="177,32" pixmap="dvr-buttons-small-fs8.png" transparent="1" alphatest="on" />                                            
42         </screen>                       
43         <screen name="ServiceInfo" position="80,103" size="560,370" title="Serviceinfo">
44                 <widget name="red" position="0,0" size="140,40" backgroundColor="red" valign="center" halign="center" font="Regular;21" />
45                 <widget name="green" position="140,0" size="140,40" backgroundColor="green" valign="center" halign="center" font="Regular;21" />
46                 <widget name="yellow" position="280,0" size="140,40" backgroundColor="yellow" valign="center" halign="center" font="Regular;21" />
47                 <widget name="blue" position="420,0" size="140,40" backgroundColor="blue" valign="center" halign="center" font="Regular;21" />
48                 <widget name="infolist" position="20,50" size="560,365" selectionDisabled="1"/>
49         </screen>
50         <screen name="AudioSelection" position="210,203" size="300,170" title="Audio">
51                 <widget name="tracks" position="20,10" size="260,150" scrollbarMode="showOnDemand" />
52         </screen>
53         <screen name="SubserviceSelection" position="210,163" size="300,250" title="Subservices">
54                 <widget name="subservices" position="20,10" size="260,230" scrollbarMode="showOnDemand" />
55         </screen>
56                 <screen name="HarddiskWait" position="100,150" size="540,60">
57                 <widget name="wait" position="20,10" size="500,25" font="Regular;23"/>
58         </screen>
59         <screen name="HarddiskSelection" position="100,150" size="540,100" title="Select HDD">
60                 <widget name="hddlist" position="20,10" size="500,75" />
61         </screen>
62         <screen name="HarddiskSetup" position="150,150" size="420,160" title="Harddisk">
63                 <widget name="model" position="20,10" size="380,25" font="Regular;23"  />
64                 <widget name="capacity" position="20,40" size="380,25" font="Regular;23"  />
65                 <widget name="bus" position="20,70" size="380,25" font="Regular;23"  />
66                 <widget name="initialize" position="150,120" zPosition="1" size="120,30" pixmap="init.png"  transparent="1" alphatest="on" />
67                 <widget name="initializetext" position="150,120" size="120,30" valign="center" halign="center" zPosition="2" font="Regular;20" transparent="1" />
68         </screen>
69         <screen name="Setup" position="90,148" size="540,280" title="Setup">
70                 <widget name="title" position="10,10" size="280,35" font="Regular;23" />
71                 <widget name="config" position="10,50" size="520,175" scrollbarMode="showOnDemand" />
72                 <widget name="ok" position="140,240" size="53,30" pixmap="ok.png" />
73                 <widget name="oktext" position="140,240" size="53,30" valign="center" halign="center" zPosition="2" font="Regular;20" transparent="1" />
74                 <widget name="cancel" position="240,240" size="100,30" pixmap="cancel.png" />
75                 <widget name="canceltext" position="240,240" size="100,30" valign="center" halign="center" zPosition="2" font="Regular;20" transparent="1" />
76         </screen>
77         <screen name="LanguageSelection" position="200,158" size="320,260" title="Language selection">
78                 <widget name="list" position="0,0" size="310,250" scrollbarMode="showOnDemand" />
79         </screen>
80         <screen name="PluginBrowser" position="150,115" size="420,370" title="Plugin browser">
81                 <widget name="red" position="5,0" size="200,40" backgroundColor="red" valign="center" halign="center" font="Regular;20" />
82                 <widget name="green" position="215,0" size="200,40" backgroundColor="green" valign="center" halign="center" font="Regular;20" />
83                 <widget name="list" position="10,50" size="400,300" scrollbarMode="showOnDemand" />
84         </screen>
85         <screen name="PluginDownloadBrowser" position="160,113" size="400,350" title="Downloadable plugins">
86                 <widget name="text" position="10,00" size="380,330" zPosition="1" font="Regular;20" />
87                 <widget name="list" position="10,00" size="380,330" zPosition="2" scrollbarMode="showOnDemand" />
88         </screen>
89         <screen name="NimSelection" position="160,238" size="400,100" title="select Slot">
90                 <widget name="nimlist" position="20,10" size="360,75" />
91         </screen>
92         <screen name="CiWait" position="180,263" 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="180,238" size="360,100" title="Common Interface">
96                 <widget name="entries" position="10,10" size="340,75" />
97         </screen>
98         <screen name="CiMmi" position="135,153" 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="80,83" size="560,410" title="Satconfig">
105                 <widget name="config" position="0,0" size="560,402" scrollbarMode="showOnDemand" />
106         </screen>
107         <screen name="ScanSetup" position="100,88" 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="160,138" 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="110,88" 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="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="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="130,148" 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="180,163" size="360,250" title="About">
129                 <widget name="text" position="10,30" size="420,20" font="Regular;18"/>
130                 <widget name="fpVersion" position="10,50" size="420,20" font="Regular;18"/>
131                 <widget name="tuner" position="10,80" size="420,20" font="Regular;18"/>
132                 <widget name="tuner0" position="10,100" size="420,20" font="Regular;18"/>
133                 <widget name="tuner1" position="10,120" size="420,20" font="Regular;18"/>
134                 <widget name="hdd" position="10,170" size="420,20" font="Regular;18"/>
135                 <widget name="hddA" position="10,190" size="420,40" font="Regular;18"/>
136         </screen>
137         <screen name="configOSD" position="130,113" size="460,350" title="OSD Settings">
138                 <widget name="okbutton" position="20,270" size="205,40" />
139                 <widget name="txt_alpha" position="20,20" size="110,20" />
140                 <widget name="sld_alpha" position="150,20" size="290,20" />
141                 <widget name="txt_brightness" position="20,60" size="120,20" />
142                 <widget name="sld_brightness" position="150,20" size="290,20" />
143                 <widget name="txt_gamma" position="20,100" size="120,20" />
144                 <widget name="sld_gamma" position="150,100" size="290,20" />
145         </screen>
146         <screen name="configTest" position="300,100" size="300,300" title="config menu">
147                 <widget name="config" position="10,30" size="420,220" />
148         </screen>
149         <screen name="TimerEditList" position="70,100" size="560,400" title="Timer Editor">
150                 <widget name="timerlist" position="0,45" size="560,350" scrollbarMode="showOnDemand" />
151                 <widget name="key_red" position="0,0" size="140,40" backgroundColor="red" font="Regular;21" />
152                 <widget name="key_green" position="140,0" size="140,40" backgroundColor="green" font="Regular;21" />
153                 <widget name="key_yellow" position="280,0" size="140,40" backgroundColor="yellow" font="Regular;21" />
154                 <widget name="key_blue" position="420,0" size="140,40" backgroundColor="blue" font="Regular;21" />
155         </screen>
156         <screen name="TimerSelection" position="70,100" size="560,400" title="Timer selection">
157                 <widget name="timerlist" position="0,45" size="560,350" scrollbarMode="showOnDemand" />
158         </screen>
159         <screen name="TimerSanityConflict" position="70,100" size="600,400" title="Timer sanity error">
160                 <widget name="timer1" position="0,45" size="290,80" scrollbarMode="showOnDemand" />
161                 <widget name="timer2" position="310,45" size="280,80" scrollbarMode="showOnDemand" />
162                 <widget name="list" position="0,160" size="250,240" scrollbarMode="showOnDemand" />
163                 <widget name="key_red" position="0,0" size="145,40" backgroundColor="red" font="Regular;21" />
164                 <widget name="key_green" position="145,0" size="145,40" backgroundColor="green" font="Regular;21" />
165                 <widget name="key_yellow" position="310,0" size="145,40" backgroundColor="yellow" font="Regular;21" />
166                 <widget name="key_blue" position="455,0" size="145,40" backgroundColor="blue" font="Regular;21" />
167         </screen>
168         <screen name="TimerLog" position="70,100" size="560,400" title="Timer log">
169                 <widget name="loglist" position="0,45" size="560,250" scrollbarMode="showOnDemand" />
170                 <widget name="logentry" position="0,300" size="560,140" font="Regular;20" />
171                 <widget name="key_red" position="0,0" size="140,40" backgroundColor="red" font="Regular;21" />
172                 <widget name="key_green" position="140,0" size="140,40" backgroundColor="green" font="Regular;21" />
173                 <widget name="key_yellow" position="280,0" size="140,40" backgroundColor="yellow" font="Regular;21" />
174                 <widget name="key_blue" position="420,0" size="140,40" backgroundColor="blue" font="Regular;21" />
175         </screen>
176         <screen name="clockDisplay" position="300,100" size="300,300">
177                 <widget name="okbutton" position="10,10" size="280,40" />
178                 <widget name="title" position="10,120" size="280,50" />
179                 <widget name="theClock" position="10,60" size="280,50" />
180         </screen>
181         <screen name="NumberZap" position="235,255" size="250,60" title="Channel">
182                 <widget name="channel" position="35,15" size="110,25" font="Regular;23" />
183                 <widget name="number" position="145,15" size="80,25" halign="right" font="Regular;23" />
184         </screen>
185         <screen name="MinuteInput" position="200,140" size="280,60" title="Seek">
186                 <widget name="minutes" position="80,15" size="160,25" halign="right" font="Regular;23" />
187         </screen>
188         <screen name="Volume" flags="wfNoBorder" position="450,50" size="180,60" title="Volume" zPosition="1" >
189                 <ePixmap position="0,0" zPosition="0" size="180,60" pixmap="volumeslider-fs8.png" />
190                 <widget name="Volume" zPosition="1" position="8,38" size="164,11" backgroundColor="dark" />
191         </screen>
192         <screen name="Mute" flags="wfNoBorder" position="100,100" size="59,80" title="Mute" zPosition="-1">
193                 <ePixmap position="0,0" size="59,80" pixmap="mute-fs8.png" />
194         </screen>
195         <screen name="Dish" flags="wfNoBorder" position="300,100" size="100,107" title="Dish" zPosition="-10" >
196                 <widget name="transparent" zPosition="-1" position="0,0" size="100,107" backgroundColor="transparent" />
197                 <widget name="Dishpixmap" pixmap="dish.png" position="0,0" size="100,107" />
198         </screen>
199                 <screen name="ChannelSelection" position="90,98" size="560,417" title="Channel Selection">
200                 <widget name="list" position="0,45" size="560,364" scrollbarMode="showOnDemand" />
201                 <widget name="key_red" position="0,0" size="140,40" backgroundColor="red" font="Regular;21" />
202                 <widget name="key_green" position="140,0" size="140,40" backgroundColor="green" font="Regular;21" />
203                 <widget name="key_yellow" position="280,0" size="140,40" backgroundColor="yellow" font="Regular;21" />
204                 <widget name="key_blue" position="420,0" size="140,40" backgroundColor="blue" font="Regular;21" />
205         </screen>
206         <screen name="ChannelSelectionRadio" position="90,98" size="560,307" title="Channel Selection">
207                 <widget name="key_red" position="0,0" size="140,40" backgroundColor="red" font="Regular;21" />
208                 <widget name="key_green" position="140,0" size="140,40" backgroundColor="green" font="Regular;21" />
209                 <widget name="key_yellow" position="280,0" size="140,40" backgroundColor="yellow" font="Regular;21" />
210                 <widget name="key_blue" position="420,0" size="140,40" backgroundColor="blue" font="Regular;21" />
211                 <widget name="list" position="0,45" size="560,252" scrollbarMode="showOnDemand" />
212         </screen>
213         <screen name="RadioInfoBar" position="90,420" size="560,105" zPosition="-1">
214                 <widget source="CurrentService" render="Label" position="0,0" size="390,26" font="Regular;22" backgroundColor="dark" >
215                         <convert type="ServiceName">Name</convert>
216                 </widget>
217                 <widget name="BlinkingPoint" pixmap="record.png" position="400,0" zPosition="2" size="58,25" />
218                 <widget source="CurrentTime" render="Label" position="465,0" size="95,28" font="Regular;22" backgroundColor="dark" >
219                         <convert type="ClockToText">WithSeconds</convert>
220                 </widget>
221                 <widget source="Event_Now" render="Progress" position="465,27" size="90,9" zPosition="1" borderWidth="2" >
222                         <convert type="EventTime">Progress</convert>
223                 </widget>
224                 <widget source="Event_Now" render="Label" position="0,44" size="60,22" font="Regular;20" backgroundColor="dark" >
225                         <convert type="EventTime">StartTime</convert>
226                         <convert type="ClockToText">Default</convert>
227                 </widget>
228                 <widget source="Event_Next" render="Label" position="0,74" size="60,22" font="Regular;20" backgroundColor="dark" >
229                         <convert type="EventTime">StartTime</convert>
230                         <convert type="ClockToText">Default</convert>
231                 </widget>
232                 <widget source="Event_Now" render="Label" position="80,44" size="380,22" font="Regular;20" backgroundColor="dark" >
233                         <convert type="EventName">Name</convert>
234                 </widget>
235                 <widget source="Event_Next" render="Label" position="80,74" size="380,22" font="Regular;20" backgroundColor="dark" >
236                         <convert type="EventName">Name</convert>
237                 </widget>
238                 
239                 <widget source="Event_Now" render="Label" position="470,44" size="150,22" font="Regular;20" backgroundColor="dark" >
240                         <convert type="EventTime">Remaining</convert>
241                         <convert type="RemainingToText">InMinutes</convert>
242                 </widget>
243                 <widget source="Event_Next" render="Label" position="470,74" size="150,22" font="Regular;20" backgroundColor="dark" >
244                         <convert type="EventTime">Duration</convert>
245                         <convert type="ClockToText">InMinutes</convert>
246                 </widget>
247         </screen>
248         <screen name="SimpleChannelSelection" position="90,98" size="560,417" title="Channel Selection">
249                 <widget name="list" position="00,45" size="560,364" scrollbarMode="showOnDemand" />
250                 <widget name="key_red" position="0,0" size="140,40" backgroundColor="red" font="Regular;21" />
251                 <widget name="key_green" position="140,0" size="140,40" backgroundColor="green" font="Regular;21" />
252                 <widget name="key_yellow" position="280,0" size="140,40" backgroundColor="yellow" font="Regular;21" />
253                 <widget name="key_blue" position="420,0" size="140,40" backgroundColor="blue" font="Regular;21" />
254         </screen>
255         <screen name="EPGSelection" position="90,100" size="560,420" title="EPG Selection">
256                 <widget name="key_red" position="0,0" size="140,30" backgroundColor="red" font="Regular;21" />
257                 <widget name="key_green" position="140,0" size="140,30" backgroundColor="green" font="Regular;21" />
258                 <widget name="key_yellow" position="280,0" size="140,30" backgroundColor="yellow" font="Regular;21" />
259                 <widget name="key_blue" position="420,0" size="140,30" backgroundColor="blue" font="Regular;21" />
260                 <widget name="list" position="0,40" size="560,375" scrollbarMode="showOnDemand" />
261         </screen>
262         <screen name="EPGSelectionMulti" position="90,100" size="560,420" title="EPG Selection">
263                 <widget name="key_red" position="0,0" size="140,30" backgroundColor="red" font="Regular;21" />
264                 <widget name="key_green" position="140,0" size="140,30" backgroundColor="green" font="Regular;21" />
265                 <widget name="key_yellow" position="280,0" size="140,30" backgroundColor="yellow" font="Regular;21" />
266                 <widget name="key_blue" position="420,0" size="140,30" backgroundColor="blue" font="Regular;21" />
267                 <widget name="now_button" position="10,40" size="123,40" pixmap="button-fs8.png" />
268                 <widget name="next_button" position="143,40" size="123,40" pixmap="button-fs8.png" />
269                 <widget name="more_button" position="276,40" size="123,40" pixmap="button-fs8.png" />
270                 <widget name="now_button_sel" position="10,40" size="123,40" pixmap="button-selected-fs8.png" />
271                 <widget name="next_button_sel" position="143,40" size="123,40" pixmap="button-selected-fs8.png" />
272                 <widget name="more_button_sel" position="276,40" size="123,40" pixmap="button-selected-fs8.png" />
273                 <widget name="now_text" text="NOW" zPosition="2" position="10,40" size="123,40" transparent="1" halign="center" valign="center" font="Regular;21" />
274                 <widget name="next_text" text="NEXT" zPosition="2" position="143,40" size="123,40" transparent="1" halign="center" valign="center" font="Regular;21" />
275                 <widget name="more_text" text="MORE" zPosition="2" position="276,40" size="123,40" transparent="1" halign="center" valign="center" font="Regular;21" />
276                 <widget name="date" position="410,40" size="140,40" valign="center" halign="right" font="Regular;24" />
277                 <widget name="list" position="00,85" size="560,325" scrollbarMode="showOnDemand" />
278         </screen>
279         <screen name="EventView" position="100,100" size="520,380" title="Eventview">
280                 <widget name="key_red" position="0,0" size="130,30" backgroundColor="red" font="Regular;21" />
281                 <widget name="key_green" position="130,0" size="130,30" backgroundColor="green" font="Regular;21" />
282                 <widget name="key_yellow" position="260,0" size="130,30" backgroundColor="yellow" font="Regular;21" />
283                 <widget name="key_blue" position="390,0" size="130,30" backgroundColor="blue" font="Regular;21" />
284                 <widget name="epg_description" position="10,40" size="500,305" font="Regular;22" />
285                 <widget name="datetime" position="10,345" size="130,30" font="Regular;22" />
286                 <widget name="duration" position="140,345" size="100,30" font="Regular;22" />
287                 <widget name="channel" position="240,345" size="270,30" font="Regular;22" />
288         </screen>
289         <screen name="PictureInPicture" position="400,60" size="240,192" zPosition="-1" flags="wfNoBorder" >
290                 <widget name="video" position="0,0" size="240,192" />
291         </screen>
292         <screen name="SubtitleDisplay" position="50,300" size="620,200" zPosition="-1" flags="wfNoBorder" >
293         </screen>
294         <screen name="PiPSetup" backgroundColor="transparent" position="70,400" size="600,150" title="PiPSetup" flags="wfNoBorder">
295                 <widget name="text" position="0,0" size="600,150" font="Regular;23" />
296         </screen>
297         <screen name="MovieSelection" position="90,98" size="560,415" title="Select a movie">
298                 <widget name="waitingtext" position="0,0" size="500,335" zPosition="2" font="Regular;22" />
299                 <widget name="list" position="0,0" size="560,375" zPosition="1" scrollbarMode="showOnDemand" />
300                 <widget name="freeDiskSpace" position="10,380" size="540,30" font="Regular;22" />
301         </screen>
302         <screen name="ServiceScan" position="200,100" size="300,330" title="Service Scan">
303                 <widget name="pass" position="10,10" size="280,30" font="Regular;20" />
304                 <widget name="scan_progress" position="10,45" size="280,20" />
305                 <widget name="scan_state" position="10,65" size="280,60" font="Regular;20" />
306                 <widget name="servicelist" position="10,135" size="280,175" selectionDisabled="1" />
307         </screen>
308         <screen name="InputBox" position="100,100" size="550,60" title="Input" >
309                 <widget name="text" position="0,0" size="550,25" font="Regular;20" />
310                 <widget name="input" position="0,30" size="550,25" font="Regular;20" />
311         </screen>
312         <screen name="ChoiceBox" position="150,100" size="550,400" title="Input" >
313                 <widget name="text" position="0,0" size="550,25" font="Regular;20" />
314                 <widget name="list" position="0,30" size="550,335" scrollbarMode="showOnDemand" />
315                 <applet type="onLayoutFinish">
316 # this should be factored out into some helper code, but currently demonstrates applets.
317 from enigma import eSize, ePoint
318
319 orgwidth = self.instance.size().width()
320 orgpos = self.instance.position()
321 textsize = self["text"].getSize()
322
323 # y size still must be fixed in font stuff...
324 textsize = (textsize[0] + 50, textsize[1] + 50)
325 count = len(self.list)
326 if count > 10:
327         count = 10
328 offset = 25 * count
329 wsizex = textsize[0] + 60
330 wsizey = textsize[1] + offset
331
332 if (450 > wsizex):
333         wsizex = 450
334 wsize = (wsizex, wsizey)
335
336
337 # resize
338 self.instance.resize(eSize(*wsize))
339
340 # resize label
341 self["text"].instance.resize(eSize(*textsize))
342
343 # move list
344 listsize = (wsizex, 25 * count)
345 self["list"].instance.move(ePoint(0, textsize[1]))
346 self["list"].instance.resize(eSize(*listsize))
347
348 # center window
349 newwidth = wsize[0]
350 #self.instance.move(ePoint(orgpos.x() + (orgwidth - newwidth)/2, orgpos.y()))
351                 </applet>                       
352         </screen>
353         <screen name="TimerEdit" position="70,100" size="590,335" title="Timer Edit">
354                 <widget name="description" position="10,10" size="580,40" font="Regular;25" />
355                 <widget name="lbegin" position="405,102" size="103,30" font="Regular;25" foregroundColor="red" />
356                 <widget name="lend" position="405,158" size="103,30" font="Regular;25" foregroundColor="green" />
357                 <widget name="begin" position="508,105" size="72,35" font="Regular;25" />
358                 <widget name="end" position="508,150" size="72,35" font="Regular;25" />
359                 <widget name="apply" position="10,240" size="250,35" />
360         </screen>
361         <screen name="HelpMenu" flags="wfNoBorder" position="0,0" size="720,576" title="Menu">
362                 <widget name="list" position="50,100" size="450,375" scrollbarMode="showOnDemand" />
363                 <widget name="rc" pixmap="rc.png" position="540,50" zPosition="10" size="154,475" transparent="1" alphatest="on"/>
364                 <widget name="arrowup" pixmap="arrowup.png" position="585,425" zPosition="11" size="37,70" transparent="1" alphatest="on"/>
365                 <eLabel position="400,40" size="220,60" text="help..." font="Regular;50" />
366         </screen>
367         <screen name="PVRState" flags="wfNoBorder" position="70,70" size="150,30" backgroundColor="transpBlack" zPosition="2">
368                 <widget name="state" position="0,0" size="150,30" font="Regular;25" halign="center" 
369                         backgroundColor="transpBlack" foregroundColor="white" />
370         </screen>
371         <screen name="TimeshiftState" flags="wfNoBorder" position="70,70" size="150,60" backgroundColor="transpBlack" zPosition="2">
372                 <widget name="state" position="0,0" size="150,30" font="Regular;25" halign="center" 
373                         backgroundColor="transpBlack" foregroundColor="white" />
374                 <widget source="CurrentService" render="Label" position="0,30" size="150,30" font="Regular;25" halign="center" 
375                         backgroundColor="transpBlack" foregroundColor="white" >
376                         <convert type="ServicePosition">Remaining</convert>
377                 </widget>
378         </screen>
379         <screen name="TimeDateInput" position="150,150" size="400,200" title="Time/Date Input">
380                 <widget name="config" position="5,10" size="380,150" />
381                 <widget name="ok" position="110,165" size="53,30" pixmap="ok.png" />
382                 <widget name="oktext" position="110,165" size="53,30" valign="center" halign="center" zPosition="2" font="Regular;20" transparent="1" />
383                 <widget name="cancel" position="210,165" size="100,30" pixmap="cancel.png" />
384                 <widget name="canceltext" position="210,165" size="100,30" valign="center" halign="center" zPosition="2" font="Regular;20" transparent="1" />
385         </screen>
386
387         <screen name="MessageBox" position="60,245" size="600,10" title="Message">
388                 <widget name="text" position="65,8" size="520,0" font="Regular;22" />
389                 <widget name="ErrorPixmap" pixmap="error.png" position="5,5" zPosition="3" size="53,53" alphatest="on" transparent="1" />
390                 <widget name="QuestionPixmap" pixmap="question.png" position="5,5" zPosition="3" size="53,53" alphatest="on" transparent="1" />
391                 <widget name="InfoPixmap" pixmap="info.png" position="5,5" zPosition="3" size="53,53" alphatest="on" transparent="1" />
392                 <widget name="list" position="100,100" size="480,375" />
393                 <applet type="onLayoutFinish">
394 # this should be factored out into some helper code, but currently demonstrates applets.
395 from enigma import eSize, ePoint
396
397 orgwidth = self.instance.size().width()
398 orgpos = self.instance.position()
399 textsize = self["text"].getSize()
400
401 # y size still must be fixed in font stuff...
402 textsize = (textsize[0] + 50, textsize[1] + 50)
403 offset = 0
404 if self.type == self.TYPE_YESNO:
405         offset = 60
406 wsizex = textsize[0] + 60
407 wsizey = textsize[1] + offset
408 if (280 > wsizex):
409         wsizex = 280
410 wsize = (wsizex, wsizey)
411
412
413 # resize
414 self.instance.resize(eSize(*wsize))
415
416 # resize label
417 self["text"].instance.resize(eSize(*textsize))
418
419 # move list
420 listsize = (wsizex, 50)
421 self["list"].instance.move(ePoint(0, textsize[1]))
422 self["list"].instance.resize(eSize(*listsize))
423
424 # center window
425 newwidth = wsize[0]
426 self.instance.move(ePoint(orgpos.x() + (orgwidth - newwidth)/2, orgpos.y()))
427                 </applet>
428         </screen>
429 </skin>