4.3.0r10
[enigma2.git] / usr / share / enigma2 / skin_default.xml
1 <skin>
2         <!-- Main screen colors (id=1 LCD) -->
3         <windowstyle type="skinned" id="1">
4                 <color name="Background" color="#000000" />
5                 <color name="LabelForeground" color="#ffffff" />
6                 <color name="ListboxBackground" color="#000000" />
7                 <color name="ListboxForeground" color="#ffffff" />
8                 <color name="ListboxSelectedBackground" color="#000000" />
9                 <color name="ListboxSelectedForeground" color="#ffffff" />
10                 <color name="ListboxMarkedBackground" color="#000000" />
11                 <color name="ListboxMarkedForeground" color="#ffffff" />
12                 <color name="ListboxMarkedAndSelectedBackground" color="#000000" />
13                 <color name="ListboxMarkedAndSelectedForeground" color="#ffffff" />
14                 <color name="WindowTitleForeground" color="#ffffff" />
15                 <color name="WindowTitleBackground" color="#000000" />
16         </windowstyle>
17         <!-- Main screen colors (id=2 Color OLED (dm800se)) -->
18         <windowstyle type="skinned" id="2">
19                 <color name="Background" color="#000000" />
20                 <color name="LabelForeground" color="#ffffff" />
21                 <color name="ListboxBackground" color="#000000" />
22                 <color name="ListboxForeground" color="#ffffff" />
23                 <color name="ListboxSelectedBackground" color="#000000" />
24                 <color name="ListboxSelectedForeground" color="#ffffff" />
25                 <color name="ListboxMarkedBackground" color="#000000" />
26                 <color name="ListboxMarkedForeground" color="#ffffff" />
27                 <color name="ListboxMarkedAndSelectedBackground" color="#000000" />
28                 <color name="ListboxMarkedAndSelectedForeground" color="#ffffff" />
29                 <color name="WindowTitleForeground" color="#ffffff" />
30                 <color name="WindowTitleBackground" color="#000000" />
31         </windowstyle>
32         <windowstylescrollbar id="4"/>
33         <fonts>
34                 <font filename="nmsbd.ttf" name="Display" scale="90"/>
35         </fonts>
36         <subtitles>
37                 <sub name="Subtitle_TTX" font="Regular;30" shadowColor="#40101010" shadowOffset="3,3" />
38                 <sub name="Subtitle_Regular" font="Regular;30" foregroundColor="#DCDCDC" shadowColor="#40101010" shadowOffset="3,3" />
39                 <sub name="Subtitle_Bold" font="Replacement;30" foregroundColor="#DCDCDC" shadowColor="#40101010" shadowOffset="3,3" />
40                 <sub name="Subtitle_Italic" font="Regular;30" foregroundColor="#DCAAAA" shadowColor="#40101010" shadowOffset="3,3" />
41                 <!-- omitting foregroundColor attribute will enable auto-assignment of color -->
42         </subtitles>
43         <!-- Menu -->
44         <screen name="Menu" position="center,center" size="650,460" title="Main menu">
45         <ePixmap position="4,3" size="248,452" pixmap="skin_default/menu.png" zPosition="-1"/>
46                 <widget source="menu" render="Listbox" position="255,8" size="385,440" zPosition="1" enableWrapAround="1" scrollbarMode="showOnDemand" >
47                         <convert type="TemplatedMultiContent">
48                                 {"template": [ MultiContentEntryText(pos = (10, 8), size = (370, 26), text = 0) ],
49                                 "fonts": [gFont("Regular", 22)],
50                                 "itemHeight": 40
51                                 }
52                         </convert>
53                 </widget>
54                 <widget source="menu" render="Listbox" position="40,25" size="180,180" scrollbarMode="showNever" selectionDisabled="1" transparent="1">
55                         <convert type="TemplatedMultiContent">
56                                 {"template": [ MultiContentEntryPixmapAlphaBlend(pos = (0,0), size = (180,180), png = 5) ],
57                                 "fonts": [gFont("Regular", 22)],
58                                 "itemHeight": 180
59                                 }
60                         </convert>
61                 </widget>
62                 <widget source="menu" render="Listbox" position="15,250" size="230,180" zPosition="1" scrollbarMode="showNever" selectionDisabled="1" transparent="1">
63                         <convert type="TemplatedMultiContent">
64                                 {"template": [
65                                                 MultiContentEntryText(pos = (0, 0), size = (230, 180), flags = RT_HALIGN_CENTER|RT_VALIGN_CENTER|RT_WRAP, text = 4) ],
66                                 "fonts": [gFont("Regular", 22)],
67                                 "itemHeight": 180
68                                 }
69                         </convert>
70                 </widget>
71         </screen>
72         <!-- Channel selection - TV -->
73         <screen name="ChannelSelection" position="center,70" size="1220,640" title="Channel Selection" zPosition="1000" >
74                 <ePixmap pixmap="skin_default/buttons/red.png" position="10,5" size="200,40" alphatest="on" />
75                 <ePixmap pixmap="skin_default/buttons/green.png" position="210,5" size="200,40" alphatest="on" />
76                 <ePixmap pixmap="skin_default/buttons/yellow.png" position="410,5" size="200,40" alphatest="on" />
77                 <ePixmap pixmap="skin_default/buttons/blue.png" position="610,5" size="200,40" alphatest="on" />
78                 <widget name="key_red" position="10,5" size="200,40" zPosition="1" font="Regular;20" halign="center" valign="center" backgroundColor="#9f1313" transparent="1" shadowColor="black" shadowOffset="-2,-2" />
79                 <widget name="key_green" position="210,5" size="200,40" zPosition="1" font="Regular;20" halign="center" valign="center" backgroundColor="#1f771f" transparent="1" shadowColor="black" shadowOffset="-2,-2" />
80                 <widget name="key_yellow" position="410,5" size="200,40" zPosition="1" font="Regular;20" halign="center" valign="center" backgroundColor="#a08500" transparent="1"  shadowColor="black" shadowOffset="-2,-2" />
81                 <widget name="key_blue" position="610,5" size="200,40" zPosition="1" font="Regular;20" halign="center" valign="center" backgroundColor="#18188b" transparent="1" shadowColor="black" shadowOffset="-2,-2" />
82                 <widget source="global.CurrentTime" render="Label" position="1130,12" size="80,22" font="Regular;22" halign="right" backgroundColor="background" shadowColor="black" shadowOffset="-2,-2" transparent="1">
83                         <convert type="ClockToText">Default</convert>
84                 </widget>
85                 <widget source="global.CurrentTime" render="Label" position="910,12" size="210,25" font="Regular;22" halign="right" backgroundColor="background" shadowColor="black" shadowOffset="-2,-2" transparent="1">
86                         <convert type="ClockToText">Format:%A %d. %B</convert>
87                 </widget>
88                 <widget name="list" position="10,55" size="860,576" enableWrapAround="1" scrollbarMode="showOnDemand" backgroundColor="background" serviceInfoFont="Regular;22" colorServiceDescription="grey" colorServiceDescriptionSelected="#d3d3d9" foregroundColorServiceNotAvail="red" picServiceEventProgressbar="skin_default/progcl.png" colorEventProgressbarBorder="grey" colorEventProgressbarBorderSelected="white" />
89                 <eLabel position="10,50" size="1200,1" backgroundColor="grey" />
90                 <eLabel position="880,50" size="1,585" backgroundColor="grey" />
91                 <widget source="ServiceEvent" render="Label" position="890,60" size="320,45" font="Regular;20">
92                         <convert type="ServiceName">Name</convert>
93                 </widget>
94                 <widget source="ServiceEvent" render="Label" position="890,113" size="320,45" font="Regular;20">
95                         <convert type="EventName">Name</convert>
96                 </widget>
97                 <widget source="ServiceEvent" render="Label" position="886,171" size="60,22" font="Regular;20" halign="right">
98                         <convert type="EventTime">StartTime</convert>
99                         <convert type="ClockToText">
100                         </convert>
101                 </widget>
102                 <widget source="ServiceEvent" render="Label" position="952,171" size="75,22" font="Regular;20">
103                         <convert type="EventTime">EndTime</convert>
104                 <convert type="ClockToText">Format:- %H:%M</convert>
105                 </widget>
106                 <widget source="ServiceEvent" render="Progress" position="1035,181" size="166,2" backgroundColor="grey">
107                     <convert type="EventTime">Progress</convert>
108                 </widget>
109                 <widget source="ServiceEvent" render="Progress" position="1035,179" pixmap="skin_default/progress.png" size="170,5" transparent="1" zPosition="1" >
110                         <convert type="EventTime">Progress</convert>
111                 </widget>               
112                 <widget source="ServiceEvent" render="Label" position="890,205" size="320,420" font="Regular;19" foregroundColor="grey">
113                         <convert type="EventName">ExtendedDescription</convert>
114                 </widget>
115         </screen>
116         <!-- Main infobar -->
117         <screen name="InfoBar" position="0,560" size="1280,150" backgroundColor="transparent" flags="wfNoBorder">
118                 <!-- Background -->
119                 <ePixmap position="0,0" zPosition="-1" size="1280,150" pixmap="skin_default/infobar.png" />
120                 <!-- Progressbar (current event duration)-->
121                 <widget source="session.Event_Now" render="Progress" position="120,22" size="140,2" backgroundColor="grey">
122                     <convert type="EventTime">Progress</convert>
123                 </widget>
124                 <widget source="session.Event_Now" render="Progress" position="120,20" pixmap="skin_default/progress.png" size="140,6" transparent="1" zPosition="1" >
125                         <convert type="EventTime">Progress</convert>
126                 </widget>
127                 <!-- Service name -->
128                 <widget source="session.CurrentService" render="Label" position="290,10" size="500,27" font="Regular;24" valign="top" noWrap="1" backgroundColor="#263c59" transparent="1">
129                         <convert type="ServiceName">Name</convert>
130                 </widget>
131                 <!-- Signal Quality -->
132                 <eLabel text="SNR:" position="820,1" size="50,22" font="Regular;17" backgroundColor="#102e59" foregroundColor="#cccccc" transparent="1" />
133                 <widget source="session.FrontendStatus" render="Label" position="875,1" size="75,22" font="Regular;17" backgroundColor="#102e59" foregroundColor="grey" transparent="1">
134                         <convert type="FrontendInfo">SNRdB</convert>
135                 </widget>
136                 <!-- Bit error rate -->
137                 <eLabel text="BER:" position="820,22" size="50,22" font="Regular;17" backgroundColor="#102e59" foregroundColor="#cccccc" transparent="1" noWrap="1" />
138                 <widget source="session.FrontendStatus" render="Label" position="875,22" size="75,22" font="Regular;17" backgroundColor="#102e59" foregroundColor="grey" transparent="1" noWrap="1">
139                         <convert type="FrontendInfo">BER</convert>
140                 </widget>
141                 <!-- Audio icon (is there multichannel audio?) -->
142                 <ePixmap pixmap="skin_default/icons/ico_dolby_off.png" position="1000,28" size="42,20" alphatest="on" />
143                 <widget source="session.CurrentService" render="Pixmap" pixmap="skin_default/icons/ico_dolby_on.png" position="1000,28" size="42,20" zPosition="1" alphatest="on">
144                         <convert type="ServiceInfo">IsMultichannel</convert>
145                         <convert type="ConditionalShowHide" />
146                 </widget>
147                 <!-- Videoformat icon (16:9?) -->
148                 <ePixmap pixmap="skin_default/icons/ico_format_off.png" position="1050,28" size="42,20" alphatest="on" />
149                 <widget source="session.CurrentService" render="Pixmap" pixmap="skin_default/icons/ico_format_on.png" position="1050,28" size="42,20" zPosition="1" alphatest="on">
150                         <convert type="ServiceInfo">IsWidescreen</convert>
151                         <convert type="ConditionalShowHide" />
152                 </widget>
153                 <!-- Teletext icon (is teletext available?) -->
154                 <ePixmap pixmap="skin_default/icons/ico_txt_off.png" position="1100,28" size="42,20" alphatest="on" />
155                 <widget source="session.CurrentService" render="Pixmap" pixmap="skin_default/icons/ico_txt_on.png" position="1100,28" size="42,20" zPosition="1" alphatest="on">
156                         <convert type="ServiceInfo">HasTelext</convert>
157                         <convert type="ConditionalShowHide" />
158                 </widget>
159                 <!-- HDTV icon -->
160                 <widget source="session.CurrentService" render="Pixmap" pixmap="skin_default/icons/ico_hd_off.png" position="1150,28" size="42,20" alphatest="on">
161                         <convert type="ServiceInfo">VideoWidth</convert>
162                         <convert type="ValueRange">0,720</convert>
163                         <convert type="ConditionalShowHide" />
164                 </widget>
165                 <widget source="session.CurrentService" render="Pixmap" pixmap="skin_default/icons/ico_hd_on.png" position="1150,28" size="42,20" zPosition="1" alphatest="on">
166                         <convert type="ServiceInfo">VideoWidth</convert>
167                         <convert type="ValueRange">721,1980</convert>
168                         <convert type="ConditionalShowHide" />
169                 </widget>
170                 <!-- Crypt icon (encrypted service?) -->
171                 <ePixmap pixmap="skin_default/icons/ico_crypt_off.png" position="1200,28" size="42,20" alphatest="on" />
172                 <widget source="session.CurrentService" render="Pixmap" pixmap="skin_default/icons/ico_crypt_on.png" position="1200,28" size="42,20" zPosition="1" alphatest="on">
173                         <convert type="ServiceInfo">IsCrypted</convert>
174                         <convert type="ConditionalShowHide" />
175                 </widget>
176                 <!-- Time -->
177                 <widget source="global.CurrentTime" render="Label" position="40,12" size="70,24" font="Regular;22" foregroundColor="grey" backgroundColor="background" transparent="1">
178                         <convert type="ClockToText">Default</convert>
179                 </widget>
180                 <!-- Channellogo (Picon) -->
181                 <widget source="session.CurrentService" render="Picon" position="40,67" zPosition="1" size="100,60" alphatest="on">
182                         <convert type="ServiceName">Reference</convert>
183                 </widget>
184                 <!-- tuners in use? -->
185                 <widget source="session.TunerInfo" render="TunerLabel,0" position="170,127" size="30,20" zPosition="2" font="Regular;16" foregroundColor="yellow" backgroundColor="#4e5a74" transparent="1">
186                         <convert type="TunerInfo">TunerUseMask</convert>
187                         <convert type="ValueBitTest">1</convert>
188                         <convert type="ConditionalShowHide" />
189                 </widget>
190                 <widget source="session.TunerInfo" render="TunerLabel,1" position="200,127" size="30,20" zPosition="2" font="Regular;16" foregroundColor="yellow" backgroundColor="#4e5a74" transparent="1">
191                         <convert type="TunerInfo">TunerUseMask</convert>
192                         <convert type="ValueBitTest">2</convert>
193                         <convert type="ConditionalShowHide" />
194                 </widget>
195                 <widget source="session.TunerInfo" render="TunerLabel,2" position="230,127" size="30,20" zPosition="2" font="Regular;16" foregroundColor="yellow" backgroundColor="#4e5a74" transparent="1">
196                         <convert type="TunerInfo">TunerUseMask</convert>
197                         <convert type="ValueBitTest">4</convert>
198                         <convert type="ConditionalShowHide" />
199                 </widget>
200                 <widget source="session.TunerInfo" render="TunerLabel,3" position="260,127" size="30,20" zPosition="2" font="Regular;16" foregroundColor="yellow" backgroundColor="#4e5a74" transparent="1">
201                         <convert type="TunerInfo">TunerUseMask</convert>
202                         <convert type="ValueBitTest">8</convert>
203                         <convert type="ConditionalShowHide" />
204                 </widget>
205                 <widget source="session.TunerInfo" render="TunerLabel,4" position="290,127" size="30,20" zPosition="2" font="Regular;16" foregroundColor="yellow" backgroundColor="#4e5a74" transparent="1">
206                         <convert type="TunerInfo">TunerUseMask</convert>
207                         <convert type="ValueBitTest">16</convert>
208                         <convert type="ConditionalShowHide" />
209                 </widget>
210                 <widget source="session.FrontendInfo" render="TunerLabel,0" position="170,127" size="30,20" zPosition="3" font="Regular;16" foregroundColor="green" backgroundColor="#4e5a74" transparent="1">
211                         <convert type="FrontendInfo">NUMBER</convert>
212                         <convert type="ValueRange">0,0</convert>
213                         <convert type="ConditionalShowHide" />
214                 </widget>
215                 <widget source="session.FrontendInfo" render="TunerLabel,1" position="200,127" size="30,20" zPosition="3" font="Regular;16" foregroundColor="green" backgroundColor="#4e5a74" transparent="1">
216                         <convert type="FrontendInfo">NUMBER</convert>
217                         <convert type="ValueRange">1,1</convert>
218                         <convert type="ConditionalShowHide" />
219                 </widget>
220                 <widget source="session.FrontendInfo" render="TunerLabel,2" position="230,127" size="30,20" zPosition="3" font="Regular;16" foregroundColor="green" backgroundColor="#4e5a74" transparent="1">
221                         <convert type="FrontendInfo">NUMBER</convert>
222                         <convert type="ValueRange">2,2</convert>
223                         <convert type="ConditionalShowHide" />
224                 </widget>
225                 <widget source="session.FrontendInfo" render="TunerLabel,3" position="260,127" size="30,20" zPosition="3" font="Regular;16" foregroundColor="green" backgroundColor="#4e5a74" transparent="1">
226                         <convert type="FrontendInfo">NUMBER</convert>
227                         <convert type="ValueRange">3,3</convert>
228                         <convert type="ConditionalShowHide" />
229                 </widget>
230                 <widget source="session.FrontendInfo" render="TunerLabel,4" position="290,127" size="30,20" zPosition="3" font="Regular;16" foregroundColor="green" backgroundColor="#4e5a74" transparent="1">
231                         <convert type="FrontendInfo">NUMBER</convert>
232                         <convert type="ValueRange">4,4</convert>
233                         <convert type="ConditionalShowHide" />
234                 </widget>
235                 <!-- Blinking pixmap (recording in progress?) -->
236                 <widget source="session.RecordState" render="Pixmap" position="180,56" size="42,20" pixmap="skin_default/icons/icon_rec.png" alphatest="on">
237                         <convert type="ConditionalShowHide">Blink</convert>
238                 </widget>
239                 <!-- Event (now) -->
240                 <ePixmap pixmap="skin_default/icons/icon_event.png" position="255,60" size="20,13" alphatest="on" />
241                 <widget source="session.Event_Now" render="Label" position="290,55" size="70,24" font="Regular;22" backgroundColor="background" transparent="1">
242                         <convert type="EventTime">StartTime</convert>
243                         <convert type="ClockToText">Default</convert>
244                 </widget>
245                 <widget source="session.Event_Now" render="Label" position="360,55" size="750,24" font="Regular;22" backgroundColor="background" transparent="1">
246                         <convert type="EventName">Name</convert>
247                 </widget>
248                 <widget source="session.Event_Now" render="Label" position="1137,55" size="100,24" font="Regular;22" backgroundColor="background" halign="right" transparent="1">
249                         <convert type="EventTime">Remaining</convert>
250                         <convert type="RemainingToText">InMinutes</convert>
251                 </widget>
252                 <!-- Event (next) -->
253                 <widget source="session.Event_Next" render="Label" position="290,88" size="70,24" font="Regular;22" backgroundColor="background" foregroundColor="grey" transparent="1">
254                         <convert type="EventTime">StartTime</convert>
255                         <convert type="ClockToText">Default</convert>
256                 </widget>
257                 <widget source="session.Event_Next" render="Label" position="360,88" size="750,24" font="Regular;22" backgroundColor="background" foregroundColor="grey" transparent="1">
258                         <convert type="EventName">Name</convert>
259                 </widget>
260                 <widget source="session.Event_Next" render="Label" position="1137,88" size="100,24" font="Regular;22" backgroundColor="background" foregroundColor="grey" halign="right" transparent="1">
261                         <convert type="EventTime">Duration</convert>
262                         <convert type="ClockToText">InMinutes</convert>
263                 </widget>
264                 <!-- Red button (is recording possible?) -->
265                 <ePixmap pixmap="skin_default/buttons/button_off.png" position="420,125" size="20,20" alphatest="on" />
266                 <widget source="RecordingPossible" render="Pixmap" pixmap="skin_default/buttons/button_red.png" position="420,125" size="20,20" zPosition="1" alphatest="on">
267                         <convert type="ConditionalShowHide" />
268                 </widget>
269                 <widget source="ShowRecordOnRed" render="FixedLabel" text="Record" position="450,125" size="160,22" zPosition="1" font="Regular;18" foregroundColor="#7f848d" backgroundColor="#182946" transparent="1">
270                         <convert type="ConditionalShowHide" />
271                 </widget>
272                 <widget source="RecordingPossible" render="FixedLabel" text="Record" position="450,125" size="160,22" zPosition="1" font="Regular;18" backgroundColor="#182946" transparent="1">
273                         <convert type="ConditionalShowHide" />
274                 </widget>
275                 <!-- Red button, Hbbtv (only if record is not on red, for now) -->
276                 <widget source="HbbtvApplication" render="Pixmap" pixmap="skin_default/buttons/button_red.png" position="420,125" size="20,20" zPosition="1" alphatest="on">
277                         <convert type="ConditionalShowHide" />
278                 </widget>
279                 <widget source="HbbtvApplication" render="Label" position="450,125" size="160,22" zPosition="1" font="Regular;18" backgroundColor="#182946" transparent="1">
280                         <convert type="HbbtvApplicationInfo">Name</convert>
281                 </widget>
282                 <!-- Green button (is subservices available?) -->
283                 <ePixmap pixmap="skin_default/buttons/button_off.png" position="620,125" size="20,20" alphatest="on" />
284                 <widget source="session.CurrentService" render="Pixmap" pixmap="skin_default/buttons/button_green.png" position="620,125" size="20,20" zPosition="1" alphatest="on">
285                         <convert type="ServiceInfo">SubservicesAvailable</convert>
286                         <convert type="ConditionalShowHide" />
287                 </widget>
288                 <eLabel text="Subservices" position="650,125" size="160,22" font="Regular;18" foregroundColor="#7f848d" backgroundColor="#182946" transparent="1" />
289                 <widget source="session.CurrentService" render="FixedLabel" text="Subservices" position="650,125" size="160,22" zPosition="1" font="Regular;18" backgroundColor="#182946" transparent="1">
290                         <convert type="ServiceInfo">SubservicesAvailable</convert>
291                         <convert type="ConditionalShowHide" />
292                 </widget>
293                 <!-- Yellow button (is timeshift possible?) -->
294                 <ePixmap pixmap="skin_default/buttons/button_off.png" position="820,125" size="20,20" alphatest="on" />
295                 <widget source="TimeshiftPossible" render="Pixmap" pixmap="skin_default/buttons/button_yellow.png" position="820,125" size="20,20" zPosition="1" alphatest="on">
296                         <convert type="ConditionalShowHide" />
297                 </widget>
298                 <widget source="ShowTimeshiftOnYellow" render="FixedLabel" text="Timeshift" position="850,125" size="160,22" zPosition="1" font="Regular;18" foregroundColor="#7f848d" backgroundColor="#182946" shadowOffset="-1,-1" transparent="1">
299                         <convert type="ConditionalShowHide" />
300                 </widget>
301                 <widget source="TimeshiftPossible" render="FixedLabel" text="Timeshift" position="850,125" size="160,22" zPosition="1" font="Regular;18" backgroundColor="#182946" transparent="1">
302                         <convert type="ConditionalShowHide" />
303                 </widget>
304                 <!-- Yellow button (Event List for current service) -->
305                 <widget source="ShowAudioOnYellow" render="Pixmap" pixmap="skin_default/buttons/button_yellow.png" position="820,125" size="20,20" zPosition="1" alphatest="on">
306                         <convert type="ConditionalShowHide" />
307                 </widget>
308                 <widget source="ShowAudioOnYellow" render="FixedLabel" text="Audio" position="850,125" size="85,22" zPosition="1" font="Regular;18" backgroundColor="#182946" transparent="1">
309                         <convert type="ConditionalShowHide" />
310                 </widget>
311                 <!-- Yellow button (Event List for current service) -->
312                 <widget source="ShowEventListOnYellow" render="Pixmap" pixmap="skin_default/buttons/button_yellow.png" position="820,125" size="20,20" zPosition="1" alphatest="on">
313                         <convert type="ConditionalShowHide" />
314                 </widget>
315                 <widget source="ShowEventListOnYellow" render="FixedLabel" text="EPG" position="850,125" size="85,22" zPosition="1" font="Regular;18" backgroundColor="#182946" transparent="1">
316                         <convert type="ConditionalShowHide" />
317                 </widget>
318                 <!-- Blue button (is extensions available?) -->
319                 <ePixmap pixmap="skin_default/buttons/button_off.png" position="1020,125" size="20,20" alphatest="on" />
320                 <widget source="ExtensionsAvailable" render="Pixmap" pixmap="skin_default/buttons/button_blue.png" position="1020,125" size="20,20" zPosition="1" alphatest="on">
321                         <convert type="ConditionalShowHide" />
322                 </widget>
323                 <eLabel text="Extensions" position="1050,125" size="160,22" font="Regular;18" foregroundColor="#7f848d" backgroundColor="#182946" transparent="1" />
324                 <widget source="ExtensionsAvailable" render="FixedLabel" text="Extensions" position="1050,125" size="160,22" zPosition="1" font="Regular;18" backgroundColor="#182946" transparent="1">
325                         <convert type="ConditionalShowHide" />
326                 </widget>
327                 <eLabel position="170,118" size="1066,1" backgroundColor="grey"/>
328         </screen>       
329         <!-- Messagebox -->
330         <screen name="MessageBox" position="340,175" size="600,10" title="Message">
331                 <widget name="text" position="110,8" size="680,0" font="Regular;22"/>
332                 <widget name="ErrorPixmap" pixmap="skin_default/icons/input_error.png" position="30,30" size="53,53" alphatest="on"/>
333                 <widget name="QuestionPixmap" pixmap="skin_default/icons/input_question.png" position="30,30" size="53,53" alphatest="on"/>
334                 <widget name="InfoPixmap" pixmap="skin_default/icons/input_info.png" position="30,30" size="53,53" alphatest="on"/>
335                 <widget name="list" position="20,95" size="760,300"/>
336                 <applet type="onLayoutFinish">
337 # this should be factored out into some helper code, but currently demonstrates applets.
338 from enigma import eSize, ePoint
339
340 orgwidth = self.instance.size().width()
341 orgpos = self.instance.position()
342 textsize = self["text"].getSize()
343
344 # y size still must be fixed in font stuff...
345 textsize = (textsize[0] + 80, textsize[1] + 80)
346 offset = 20
347 if self.type == self.TYPE_YESNO:
348         offset = 70
349 wsizex = textsize[0] + 120
350 wsizey = textsize[1] + offset
351 if (600 &gt; wsizex):
352         wsizex = 600
353 wsize = (wsizex, wsizey)
354
355
356 # resize
357 self.instance.resize(eSize(*wsize))
358
359 # resize label
360 self["text"].instance.resize(eSize(*textsize))
361
362 # move list
363 listsize = (wsizex - 20, 60)
364 self["list"].instance.move(ePoint(10, textsize[1]))
365 self["list"].instance.resize(eSize(*listsize))
366
367 # center window
368 newwidth = wsize[0]
369 self.instance.move(ePoint(orgpos.x() + (orgwidth - newwidth)/2, (720-wsizey)/2))
370
371                 </applet>
372         </screen>
373         <!-- Choice box -->
374         <screen name="ChoiceBox" position="130,140" size="600,400" title="Input">
375                 <widget name="text" position="10,10" size="550,25" font="Regular;24"/>
376                 <widget name="list" position="0,30" size="550,300" itemHeight="30" scrollbarMode="showOnDemand" transparent="1"/>
377                 <applet type="onLayoutFinish">
378 # this should be factored out into some helper code, but currently demonstrates applets.
379 from enigma import eSize, ePoint
380
381 orgwidth = self.instance.size().width()
382 orgpos = self.instance.position()
383 textsize = self["text"].getSize()
384
385 # y size still must be fixed in font stuff...
386 textsize = (textsize[0] + 80, textsize[1] + 80)
387 count = len(self.list)
388 if count &gt; 10:
389         count = 10
390 offset = 30 * count
391 wsizex = textsize[0] + 80
392 wsizey = textsize[1] + offset + 20
393
394 if (650 &gt; wsizex):
395         wsizex = 650
396 wsize = (wsizex, wsizey)
397
398 # resize
399 self.instance.resize(eSize(*wsize))
400
401 # resize label
402 self["text"].instance.resize(eSize(*textsize))
403
404 # move list
405 listsize = (wsizex - 20, 30 * count)
406 self["list"].instance.move(ePoint(10, textsize[1]))
407 self["list"].instance.resize(eSize(*listsize))
408
409 # center window
410 newwidth = wsize[0]
411 self.instance.move(ePoint((1280-wsizex)/2, (720-wsizey)/2))
412                 </applet>
413         </screen>       
414         <!-- Skin Selector -->
415         <screen name="SkinSelector" position="center,115" size="820,530" title="Choose your Skin">
416                 <ePixmap pixmap="skin_default/buttons/red.png" position="10,5" size="200,40" alphatest="on" />
417                 <widget source="key_red" render="Label" position="10,5" size="200,40" zPosition="1" font="Regular;20" halign="center" valign="center" backgroundColor="#9f1313" transparent="1" shadowColor="black" shadowOffset="-2,-2" />
418                 <eLabel position="10,50" size="800,1" backgroundColor="grey" />
419                 <widget name="SkinList" position="10,60" size="420,420" enableWrapAround="1" scrollbarMode="showOnDemand" />
420                 <eLabel position="440,50" size="1,440" backgroundColor="grey" />
421                 <widget name="Preview" position="450,110" size="360,270" alphatest="on" />
422                 <eLabel position="10,490" size="800,1" backgroundColor="grey" />
423                 <widget source="introduction" render="Label" position="10,498" size="800,25" font="Regular;22" halign="center" transparent="1" />
424         </screen>
425         <screen name="Toast" position="center,550" size="600,10" backgroundColor="#20111111" flags="wfNoBorder">
426                 <widget name="text" position="5,5" size="520,0" backgroundColor="#20111111" font="Regular;22" />
427         </screen>               
428         <!-- Picture in picture -->
429         <screen name="PictureInPicture" position="400,60" zPosition="-1" size="240,192" flags="wfNoBorder">
430                 <widget name="video" position="0,0" size="240,192" backgroundColor="transparent" />
431         </screen>
432         <!-- Clock display -->
433         <screen name="clockDisplay" position="300,100" size="300,300">
434                 <widget name="okbutton" position="10,10" size="280,40" />
435                 <widget name="title" position="10,120" size="280,50" />
436                 <widget name="theClock" position="10,60" size="280,50" />
437         </screen>
438         <!-- Config OSD -->
439         <screen name="configOSD" position="center,center" size="460,350" title="OSD Settings">
440                 <widget name="okbutton" position="20,270" size="205,40" />
441                 <widget name="txt_alpha" position="20,20" size="110,20" />
442                 <widget name="sld_alpha" position="150,20" size="290,20" />
443                 <widget name="txt_brightness" position="20,60" size="120,20" />
444                 <widget name="sld_brightness" position="150,20" size="290,20" />
445                 <widget name="txt_gamma" position="20,100" size="120,20" />
446                 <widget name="sld_gamma" position="150,100" size="290,20" />
447         </screen>
448         <!-- Config test -->
449         <screen name="configTest" position="300,100" size="300,300" title="config menu">
450                 <widget name="config" position="10,30" size="420,220" />
451         </screen>
452     <!-- Wizard -->
453         <screen name="DreamPackageWizard" position="0,0" size="720,576" title="Welcome..." flags="wfNoBorder" >
454                         <widget name="text" position="153,50" size="340,270" font="Regular;23" />
455                         <widget source="list" render="Listbox" position="50,300" size="440,200" scrollbarMode="showOnDemand" >
456                                 <convert type="StringList" />
457                         </widget>
458                         <ePixmap pixmap="skin_default/buttons/button_red.png" position="40,225" size="15,16" alphatest="on" />
459                         <widget name="languagetext" position="55,225" size="95,30" font="Regular;18" />
460                         <widget name="config" position="50,300" zPosition="1" size="440,200" transparent="1" scrollbarMode="showOnDemand" />
461                         <!--widget name="stepslider" position="50,500" zPosition="1" borderWidth="2" size="440,20" backgroundColor="dark" /-->
462                         <widget name="wizard" pixmap="skin_default/wizard.png" position="40,50" zPosition="10" size="110,174" transparent="1" alphatest="on"/>
463                         <widget name="rc" pixmap="skin_default/rc0.png" position="500,600" zPosition="10" size="154,471" transparent="1" alphatest="on"/>
464                         <widget name="arrowdown" pixmap="skin_default/arrowdown.png" position="-100,-100" zPosition="11" size="37,70" transparent="1" alphatest="on"/>
465                         <widget name="arrowup" pixmap="skin_default/arrowup.png" position="-100,-100" zPosition="11" size="37,70" transparent="1" alphatest="on"/>
466                         <widget name="arrowup2" pixmap="skin_default/arrowup.png" position="-100,-100" zPosition="11" size="37,70" transparent="1" alphatest="on"/>
467         </screen>
468         <!-- Tutorial Wizard -->
469         <screen name="TutorialWizard" position="0,0" size="720,576" title="Welcome..." flags="wfNoBorder">
470                 <widget name="text" position="50,100" size="440,200" font="Regular;23" />
471                 <widget name="list" position="50,300" zPosition="1" size="440,200" />
472                 <widget name="rc" pixmap="skin_default/rc0.png" position="500,600" zPosition="10" size="154,475" alphatest="on"/>
473                 <widget name="arrowdown" pixmap="skin_default/arrowdown.png" position="0,0" zPosition="11" size="37,70" alphatest="on"/>
474                 <widget name="arrowup" pixmap="skin_default/arrowup.png" position="-100,-100" zPosition="11" size="37,70" alphatest="on"/>
475                 <widget name="arrowup2" pixmap="skin_default/arrowup.png" position="-100,-100" zPosition="11" size="37,70" alphatest="on"/>
476         </screen>
477         
478         <!-- LCD/OLED Screens -->
479         <!-- LCD screen (channelselection) -->
480         <screen name="ChannelSelection_summary" position="0,0" size="132,64" id="1">
481                 <widget source="parent.ServiceEvent" render="Label" position="6,0" size="120,25" font="Display;14" halign="center" valign="center" >
482                         <convert type="ServiceName">Name</convert>
483                 </widget>
484                 <widget source="parent.ServiceEvent" render="Progress" position="16,27" size="100,5" borderWidth="1">
485                         <convert type="EventTime">Progress</convert>
486                 </widget>
487                 <widget source="global.CurrentTime" render="Label" position="6,32" size="90,32" font="Display;32" halign="right" valign="top">
488                         <convert type="ClockToText">Format:%H:%M</convert>
489                 </widget>
490                 <widget source="global.CurrentTime" render="Label" position="100,34" zPosition="1" size="26,30" font="Display;16" valign="top">
491                         <convert type="ClockToText">Format:%S</convert>
492                 </widget>
493         </screen>
494         <!-- Color OLED screen (ChannelSelection) -->
495         <screen name="ChannelSelection_summary" position="0,0" size="96,64" id="2">
496                 <widget source="parent.ServiceEvent" render="Label" position="0,0" size="96,28" font="Display;16" halign="center" valign="center" >
497                         <convert type="ServiceName">Name</convert>
498                 </widget>
499                 <widget source="session.Event_Now" render="Progress" position="0,30" size="96,8" borderWidth="1" backgroundColor="dark">
500                         <convert type="EventTime">Progress</convert>
501                 </widget>
502                 <widget source="global.CurrentTime" render="Label" position="0,38" size="96,26" font="Display;32" halign="center" valign="center" foregroundColor="#FFFFFF" backgroundColor="#000000" >
503                         <convert type="ClockToText">Format:%H:%M</convert>
504                 </widget>
505         </screen>
506         <!-- LCD screen (main) -->
507         <screen name="InfoBarSummary" position="0,0" size="132,64" id="1">
508                 <widget source="session.CurrentService" render="Label" position="6,0" size="120,25" font="Display;14" halign="center" valign="center" >
509                         <convert type="ServiceName">Name</convert>
510                 </widget>
511                 <widget source="session.Event_Now" render="Progress" position="16,27" size="100,5" borderWidth="1">
512                         <convert type="EventTime">Progress</convert>
513                 </widget>
514                 <widget source="global.CurrentTime" render="Label" position="6,32" size="90,32" font="Display;32" halign="right" valign="top">
515                         <convert type="ClockToText">Format:%H:%M</convert>
516                 </widget>
517                 <widget source="global.CurrentTime" render="Label" position="100,34" zPosition="1" size="26,30" font="Display;16" valign="top">
518                         <convert type="ClockToText">Format:%S</convert>
519                 </widget>
520                 <widget source="session.RecordState" render="FixedLabel" text=" " position="6,32" zPosition="1" size="126,32">
521                         <convert type="ConfigEntryTest">config.usage.blinking_display_clock_during_recording,True,CheckSourceBoolean</convert>
522                         <convert type="ConditionalShowHide">Blink</convert>
523                 </widget>
524         </screen>
525         <!-- Color OLED screen (main) -->
526         <screen name="InfoBarSummary" position="0,0" size="96,64" id="2">
527                 <widget source="session.CurrentService" render="Label" position="0,0" size="96,28" font="Display;16" halign="center" valign="center" >
528                         <convert type="ServiceName">Name</convert>
529                 </widget>
530                 <widget source="session.Event_Now" render="Progress" position="0,30" size="96,8" borderWidth="1" backgroundColor="dark">
531                         <convert type="EventTime">Progress</convert>
532                 </widget>
533                 <widget source="global.CurrentTime" render="Label" position="0,38" size="96,26" font="Display;32" halign="center" valign="center" foregroundColor="#FFFFFF" backgroundColor="#000000" >
534                         <convert type="ClockToText">Format:%H:%M</convert>
535                 </widget>
536                 <widget source="session.RecordState" render="FixedLabel" text=" " position="0,38" zPosition="1" size="96,26">
537                         <convert type="ConfigEntryTest">config.usage.blinking_display_clock_during_recording,True,CheckSourceBoolean</convert>
538                         <convert type="ConditionalShowHide">Blink</convert>
539                 </widget>
540         </screen>
541         <!-- LCD screen (movieplayer) -->
542         <screen name="InfoBarMoviePlayerSummary" position="0,0" size="132,64" id="1">
543                 <widget source="session.CurrentService" render="Label" position="6,0" size="120,25" font="Display;14" halign="center" valign="center" >
544                         <convert type="ServiceName">Name</convert>
545                 </widget>
546                 <widget source="session.CurrentService" render="Progress" position="16,27" size="100,5" borderWidth="1">
547                         <convert type="ServicePosition">Position</convert>
548                 </widget>
549                 <widget source="global.CurrentTime" render="Label" position="6,32" size="120,32" font="Display;32" halign="center" valign="center">
550                         <convert type="ClockToText">Format:%H:%M</convert>
551                 </widget>
552                 <widget source="session.RecordState" render="FixedLabel" text=" " position="6,32" zPosition="1" size="120,32">
553                         <convert type="ConfigEntryTest">config.usage.blinking_display_clock_during_recording,True,CheckSourceBoolean</convert>
554                         <convert type="ConditionalShowHide">Blink</convert>
555                 </widget>
556         </screen>
557         <!-- Color OLED screen (movieplayer) -->
558         <screen name="InfoBarMoviePlayerSummary" position="0,0" size="96,64" id="2">
559                 <widget source="session.CurrentService" render="Label" position="0,0" size="96,28" font="Display;16" halign="center" valign="center" >
560                         <convert type="ServiceName">Name</convert>
561                 </widget>
562                 <widget source="session.CurrentService" render="Progress" position="0,30" size="96,8" borderWidth="1" backgroundColor="dark">
563                         <convert type="ServicePosition">Position</convert>
564                 </widget>
565                 <widget source="global.CurrentTime" render="Label" position="0,38" size="96,26" font="Display;32" halign="center" valign="center" foregroundColor="#FFFFFF" backgroundColor="#000000" >
566                         <convert type="ClockToText">Format:%H:%M</convert>
567                 </widget>
568                 <widget source="session.RecordState" render="FixedLabel" text=" " position="0,38" zPosition="1" size="96,26">
569                         <convert type="ConfigEntryTest">config.usage.blinking_display_clock_during_recording,True,CheckSourceBoolean</convert>
570                         <convert type="ConditionalShowHide">Blink</convert>
571                 </widget>
572         </screen>
573         <!-- LCD screen (ChoiceBox) -->
574         <screen name="ChoiceBox_summary" position="0,0" size="132,64" id="1">
575                 <widget source="parent.summary_list" render="Label" position="6,0" size="126,64" font="Display;11" />
576         </screen>
577         <!-- Color OLED screen (ChoiceBox) -->
578         <screen name="ChoiceBox_summary" position="0,0" size="96,64" id="2">
579                 <widget source="parent.summary_list" render="Label" position="0,0" size="96,64" font="Display;10" />
580         </screen>
581         <!-- LCD screen (MessageBox) -->
582         <screen name="MessageBox_summary" position="0,0" size="132,64" id="1">
583                 <widget source="parent.Text" render="Label" position="0,0" size="132,52" font="Display;11" halign="center" valign="center" />
584                 <widget source="parent.selectedChoice" render="Label" position="6,50" size="120,14" font="Display;14" halign="center" valign="center" />
585         </screen>
586         <!-- Color OLED screen (MessageBox) -->
587         <screen name="MessageBox_summary" position="0,0" size="96,64" id="2">
588                 <widget source="parent.Text" render="Label" position="0,0" size="96,52" font="Display;10" halign="center" valign="center" />
589                 <widget source="parent.selectedChoice" render="Label" position="0,50" size="96,14" font="Display;12" halign="center" valign="center" />
590         </screen>
591         <!-- LCD screen (menus) -->
592         <screen name="MenuSummary" position="0,0" size="132,64" id="1">
593                 <widget source="parent.title" render="Label" position="6,0" size="120,32" font="Display;14" halign="center" valign="center"/>
594                 <widget source="parent.menu" render="Label" position="6,32" size="120,32" font="Display;16" halign="center" valign="center">
595                         <convert type="StringListSelection" />
596                 </widget>
597         </screen>
598         <!-- Color OLED screen (menus) -->
599         <screen name="MenuSummary" position="0,0" size="96,64" id="2">
600                 <widget source="parent.title" render="Label" position="0,0" size="96,32" font="Display;15" halign="center" valign="center"/>
601                 <widget source="parent.menu" render="Label" position="0,32" size="96,32" font="Display;16" halign="center" valign="top">
602                         <convert type="StringListSelection" />
603                 </widget>
604         </screen>
605         <!-- LCD screen (ServiceScan) -->
606         <screen name="ServiceScanSummary" position="0,0" size="132,64" id="1">
607                 <widget name="Title" position="6,4" size="120,42" font="Display;16" transparent="1" />
608                 <widget name="Service" position="6,22" size="120,26" font="Display;12" transparent="1" />
609                 <widget name="scan_progress" position="6,50" zPosition="1" borderWidth="1" size="56,12" backgroundColor="dark" />
610         </screen>
611         <!-- Color OLED screen (ServiceScan) -->
612         <screen name="ServiceScanSummary" position="0,0" size="96,64" id="2">
613                 <widget name="Title" position="0,0" size="96,30" font="Display;14" transparent="1" />
614                 <widget name="Service" position="0,30" size="96,20" font="Display;10" transparent="1" />
615                 <widget name="scan_progress" position="0,50" zPosition="1" borderWidth="1" size="96,12" backgroundColor="dark" />
616         </screen>
617         <!-- LCD screen (setup) -->
618         <screen name="SetupSummary" position="0,0" size="132,64" id="1">
619                 <widget source="SetupTitle" render="Label" position="6,0" size="120,24" halign="left" font="Display;12" />
620                 <widget source="SetupEntry" render="Label" position="6,24" size="120,24" halign="center" font="Display;12" />
621                 <widget source="SetupValue" render="Label" position="6,48" size="120,16" halign="right" font="Display;12" />
622         </screen>
623         <!-- Color OLED screen (setup) -->
624         <screen name="SetupSummary" position="0,0" size="96,64" id="2">
625                 <widget source="SetupTitle" render="Label" position="0,0" size="96,24" halign="left" font="Display;10" />
626                 <widget source="SetupEntry" render="Label" position="0,24" size="96,24" halign="center" font="Display;10" />
627                 <widget source="SetupValue" render="Label" position="0,48" size="96,16" halign="right" font="Display;10" />
628         </screen>
629         <!-- LCD screen (misc) -->
630         <screen name="SimpleSummary" position="0,0" size="132,64" id="1">
631                 <widget source="parent.Title" render="Label" position="6,0" size="120,64" font="Display;16" halign="center" valign="center" />
632         </screen>
633         <!-- Color OLED screen (misc) -->
634         <screen name="SimpleSummary" position="0,0" size="96,64" id="2">
635                 <widget source="parent.Title" render="Label" position="0,0" size="96,64" font="Display;14" halign="center" valign="center" />
636         </screen>
637         <!-- LCD screen (standby) -->
638         <screen name="StandbySummary" position="0,0" size="132,64" id="1">
639                 <widget source="global.CurrentTime" render="Label" position="6,0" size="120,64" font="Display;40" halign="center" valign="center">
640                         <convert type="ClockToText">Format:%H:%M</convert>
641                 </widget>
642                 <widget source="session.RecordState" render="FixedLabel" position="6,0" zPosition="1" size="120,64" text=" ">
643                         <convert type="ConfigEntryTest">config.usage.blinking_display_clock_during_recording,True,CheckSourceBoolean</convert>
644                         <convert type="ConditionalShowHide">Blink</convert>
645                 </widget>
646         </screen>
647         <!-- Color OLED screen (standby) -->
648         <screen name="StandbySummary" position="0,0" size="96,64" id="2">
649                 <widget source="global.CurrentTime" render="Label" position="0,0" size="96,64" font="Display;38" halign="center" valign="center">
650                         <convert type="ClockToText">Format:%H:%M</convert>
651                 </widget>
652                 <widget source="session.RecordState" render="FixedLabel" position="0,0" zPosition="1" size="96,64" text=" ">
653                         <convert type="ConfigEntryTest">config.usage.blinking_display_clock_during_recording,True,CheckSourceBoolean</convert>
654                         <convert type="ConditionalShowHide">Blink</convert>
655                 </widget>
656         </screen>
657         <!-- LCD screen (JobView) -->
658         <screen name="JobView_summary" position="0,0" size="132,64" id="1">
659                 <widget source="parent.summary_job_name" render="Label" position="6,4" size="120,42" font="Display;16" />
660                 <widget source="parent.summary_job_task" render="Label" position="6,22" size="120,26" font="Display;12" />
661                 <widget source="parent.summary_job_progress" render="Progress" position="6,50" size="60,12" borderWidth="1" zPosition="1" />
662                 <widget source="parent.summary_job_progress" render="Label" position="66,50" size="50,12" font="Display;12" zPosition="2" halign="center" transparent="1"  >
663                         <convert type="ProgressToText" />
664                 </widget>
665         </screen>
666         <!-- Color OLED screen (JobView) -->
667         <screen name="JobView_summary" position="0,0" size="96,64" id="2">
668                 <widget source="parent.summary_job_name" render="Label" position="0,4" size="96,42" font="Display;14" />
669                 <widget source="parent.summary_job_task" render="Label" position="0,22" size="96,26" font="Display;10" />
670                 <widget source="parent.summary_job_progress" render="Progress" position="0,50" size="60,12" borderWidth="1" zPosition="1" />
671                 <widget source="parent.summary_job_progress" render="Label" position="60,50" size="36,12" font="Display;10" zPosition="2" halign="center" transparent="1"  >
672                         <convert type="ProgressToText" />
673                 </widget>
674         </screen>
675         <!-- LCD screen (Wizard) -->
676         <screen name="WizardSummary" position="0,0" size="132,64" id="1">
677                 <widget source="text" render="Label" position="6,0" size="120,16" font="Display;16" transparent="1" />
678                 <widget source="parent.list" render="Label" position="6,18" size="120,46" font="Display;12">
679                         <convert type="StringListSelection" />
680                 </widget>
681         </screen>
682         <!-- Color OLED screen (Wizard) -->
683         <screen name="WizardSummary" position="0,0" size="96,64" id="2">
684                 <widget source="text" render="Label" position="0,0" size="96,16" font="Display;14" transparent="1" />
685                 <widget source="parent.list" render="Label" position="0,18" size="96,46" font="Display;12">
686                         <convert type="StringListSelection" />
687                 </widget>
688         </screen>
689
690 </skin>