Merge branch 'master' of /home/tmbinc/enigma2-git into tmbinc/FixTimingBugs
[enigma2.git] / data / skin.xml
1 <skin>
2         <!-- Screwed Stone II skin (skin.xml) /Nemesis -->
3         <output id="0">
4                 <resolution xres="720" yres="576" bpp="32" />
5         </output>
6         <!-- Colors (#AARRGGBB) -->
7         <colors>
8                 <color name="white" value="#ffffff" />
9                 <color name="black" value="#000000" />
10                 <color name="dark" value="#25062748" />
11                 <color name="menu" value="#25062748" />
12                 <color name="red" value="#f23d21" />
13                 <color name="green" value="#389416" />
14                 <color name="blue" value="#0064c7" />
15                 <color name="yellow" value="#bab329" />
16                 <color name="transparent" value="#ffffffff" />
17                 <color name="transpBlack" value="#80000000" />
18                 <color name="transpWhite" value="#80ffffff" />
19                 <color name="background" value="#25062748" />
20                 <color name="foreground" value="#ffffff" />
21         </colors>
22         <!-- Main screen colors (id=0 Framebuffer) -->
23         <windowstyle type="skinned" id="0">
24                 <title offset="33,14" font="Regular;20" />
25                 <color name="Background" color="#25062748" />
26                 <color name="LabelForeground" color="#ffffff" />
27                 <color name="ListboxBackground" color="#25062748" />
28                 <color name="ListboxForeground" color="#ffffff" />
29                 <color name="ListboxSelectedBackground" color="#254f7497" />
30                 <color name="ListboxSelectedForeground" color="#ffffff" />
31                 <color name="ListboxMarkedBackground" color="#ff0000" />
32                 <color name="ListboxMarkedForeground" color="#ffffff" />
33                 <color name="ListboxMarkedAndSelectedBackground" color="#800000" />
34                 <color name="ListboxMarkedAndSelectedForeground" color="#ffffff" />
35                 <color name="WindowTitleForeground" color="#ffffff" />
36                 <color name="WindowTitleBackground" color="#25062748" />
37                 <!-- Main screen border png's -->
38                 <borderset name="bsWindow">
39                         <pixmap pos="bpTopLeft" filename="skin_default/b_tl.png" />
40                         <pixmap pos="bpTop" filename="skin_default/b_t.png"  />
41                         <pixmap pos="bpTopRight" filename="skin_default/b_tr.png" />
42                         <pixmap pos="bpLeft" filename="skin_default/b_l.png"  />
43                         <pixmap pos="bpRight" filename="skin_default/b_r.png"  />
44                         <pixmap pos="bpBottomLeft" filename="skin_default/b_bl.png" />
45                         <pixmap pos="bpBottom" filename="skin_default/b_b.png"  />
46                         <pixmap pos="bpBottomRight" filename="skin_default/b_br.png" />
47                 </borderset>
48         </windowstyle>
49         <!-- Main screen colors (id=1 LCD) -->
50         <windowstyle type="skinned" id="1">
51                 <color name="Background" color="#000000" />
52                 <color name="LabelForeground" color="#ffffff" />
53                 <color name="ListboxBackground" color="#000000" />
54                 <color name="ListboxForeground" color="#ffffff" />
55                 <color name="ListboxSelectedBackground" color="#000000" />
56                 <color name="ListboxSelectedForeground" color="#ffffff" />
57                 <color name="ListboxMarkedBackground" color="#000000" />
58                 <color name="ListboxMarkedForeground" color="#ffffff" />
59                 <color name="ListboxMarkedAndSelectedBackground" color="#000000" />
60                 <color name="ListboxMarkedAndSelectedForeground" color="#ffffff" />
61                 <color name="WindowTitleForeground" color="#ffffff" />
62                 <color name="WindowTitleBackground" color="#000000" />
63         </windowstyle>
64         <!-- Fonts -->
65         <fonts>
66                 <!-- <font filename="md_khmurabi_10.ttf" name="Regular" scale="90" /> -->
67                 <font filename="nmsbd.ttf" name="Regular" scale="90" />
68                 <font filename="lcd.ttf" name="LCD" scale="100" />
69                 <font filename="ae_AlMateen.ttf" name="Replacement" scale="90" replacement="1" />
70                 <font filename="tuxtxt.ttf" name="Console" scale="100" />
71         </fonts>
72         <!-- Main infobar -->
73         <screen name="InfoBar" flags="wfNoBorder" position="0,380" size="720,160" title="InfoBar" backgroundColor="transparent">
74                 <!-- Background -->
75                 <ePixmap position="0,0" zPosition="-1" size="720,160" pixmap="skin_default/info-bg.png" />
76                 <ePixmap position="27,73" size="665,71" pixmap="skin_default/screws.png" alphatest="on" transparent="1" />
77                 <!-- Signal Quality -->
78                 <eLabel text="SNR" position="205,3" size="40,22" font="Regular;16" backgroundColor="#102e59" foregroundColor="#cccccc" shadowColor="#27384f" shadowOffset="-1,-1" transparent="1" />
79                 <widget source="session.FrontendStatus" render="Label" position="242,3" size="80,22" font="Regular;16" backgroundColor="#102e59" foregroundColor="#e7e7e7" shadowColor="#27384f" shadowOffset="-1,-1" transparent="1">
80                         <convert type="FrontendInfo">SNRdB</convert>
81                 </widget>
82                 <!-- Bit error rate -->
83                 <eLabel text="BER" position="317,3" size="40,22" font="Regular;16" backgroundColor="#102e59" foregroundColor="#cccccc" shadowColor="#27384f" shadowOffset="-1,-1" transparent="1" noWrap="1" />
84                 <widget source="session.FrontendStatus" render="Label" position="355,3" size="43,22" font="Regular;16" backgroundColor="#102e59" foregroundColor="#e7e7e7" shadowColor="#27384f" shadowOffset="-1,-1" transparent="1" noWrap="1">
85                         <convert type="FrontendInfo">BER</convert>
86                 </widget>
87                 <!-- Channellogo (Picon) -->
88                 <widget source="session.CurrentService" render="Picon" position="49,4" zPosition="1" size="70,53" alphatest="on">
89                         <convert type="ServiceName">Reference</convert>
90                 </widget>
91                 <!-- Service name -->
92                 <widget source="session.CurrentService" render="Label" position="130,30" size="360,27" font="Regular;21" valign="center" halign="right" noWrap="1" backgroundColor="#263c59" shadowColor="#1d354c" shadowOffset="-1,-1" transparent="1">
93                         <convert type="ServiceName">Name</convert>
94                 </widget>
95                 <!-- Time -->
96                 <ePixmap pixmap="skin_default/icons/clock.png" position="600,23" size="14,14" alphatest="on" />
97                 <widget source="global.CurrentTime" render="Label" position="615,21" size="55,24" font="Regular;21" halign="right" backgroundColor="#4e5a74" transparent="1">
98                         <convert type="ClockToText">Default</convert>
99                 </widget>
100                 <!-- tuners in use? -->
101                 <widget source="session.FrontendInfo" render="Pixmap" position="142,6" size="8,9" pixmap="skin_default/nim_active.png" alphatest="on">
102                         <convert type="FrontendInfo">NUMBER</convert>
103                         <convert type="ValueRange">0,0</convert>
104                         <convert type="ConditionalShowHide" />
105                 </widget>
106                 <widget source="session.FrontendInfo" render="Pixmap" position="142,19" size="8,9" pixmap="skin_default/nim_active.png" alphatest="on">
107                         <convert type="FrontendInfo">NUMBER</convert>
108                         <convert type="ValueRange">1,1</convert>
109                         <convert type="ConditionalShowHide" />
110                 </widget>
111                 <widget source="session.FrontendInfo" render="Pixmap" position="142,32" size="8,9" pixmap="skin_default/nim_active.png" alphatest="on">
112                         <convert type="FrontendInfo">NUMBER</convert>
113                         <convert type="ValueRange">2,2</convert>
114                         <convert type="ConditionalShowHide" />
115                 </widget>
116                 <widget source="session.FrontendInfo" render="Pixmap" position="142,45" size="8,9" pixmap="skin_default/nim_active.png" alphatest="on">
117                         <convert type="FrontendInfo">NUMBER</convert>
118                         <convert type="ValueRange">3,3</convert>
119                         <convert type="ConditionalShowHide" />
120                 </widget>
121                 <widget source="session.TunerInfo" render="FixedLabel" text="A" position="129,4" size="15,13" font="Regular;14" backgroundColor="#4e5a74" transparent="1">
122                         <convert type="TunerInfo">TunerUseMask</convert>
123                         <convert type="ValueBitTest">1</convert>
124                         <convert type="ConditionalShowHide" />
125                 </widget>
126                 <widget source="session.TunerInfo" render="FixedLabel" text="B" position="129,17" size="15,13" font="Regular;14" backgroundColor="#4e5a74" transparent="1">
127                         <convert type="TunerInfo">TunerUseMask</convert>
128                         <convert type="ValueBitTest">2</convert>
129                         <convert type="ConditionalShowHide" />
130                 </widget>
131                 <widget source="session.TunerInfo" render="FixedLabel" text="C" position="129,30" size="15,13" font="Regular;14" backgroundColor="#4e5a74" transparent="1">
132                         <convert type="TunerInfo">TunerUseMask</convert>
133                         <convert type="ValueBitTest">4</convert>
134                         <convert type="ConditionalShowHide" />
135                 </widget>
136                 <widget source="session.TunerInfo" render="FixedLabel" text="D" position="129,43" size="15,13" font="Regular;14" backgroundColor="#4e5a74" transparent="1">
137                         <convert type="TunerInfo">TunerUseMask</convert>
138                         <convert type="ValueBitTest">8</convert>
139                         <convert type="ConditionalShowHide" />
140                 </widget>
141                 <!-- Crypt icon (encrypted service?) -->
142                 <ePixmap position="563,48" zPosition="0" size="107,15" pixmap="skin_default/icons/icons_off.png" />
143                 <widget source="session.CurrentService" render="Pixmap" pixmap="skin_default/icons/icon_crypt.png" position="563,48" zPosition="1" size="12,16" alphatest="on">
144                         <convert type="ServiceInfo">IsCrypted</convert>
145                         <convert type="ConditionalShowHide" />
146                 </widget>
147                 <!-- Teletext icon (is teletext available?) -->
148                 <widget source="session.CurrentService" render="Pixmap" pixmap="skin_default/icons/icon_txt.png" position="580,48" zPosition="1" size="26,16" alphatest="on">
149                         <convert type="ServiceInfo">HasTelext</convert>
150                         <convert type="ConditionalShowHide" />
151                 </widget>
152                 <!-- Videoformat icon (16:9?) -->
153                 <widget source="session.CurrentService" render="Pixmap" pixmap="skin_default/icons/icon_format.png" position="611,48" zPosition="1" size="29,16" alphatest="on">
154                         <convert type="ServiceInfo">IsWidescreen</convert>
155                         <convert type="ConditionalShowHide" />
156                 </widget>
157                 <!-- Audio icon (is there multichannel audio?) -->
158                 <widget source="session.CurrentService" render="Pixmap" pixmap="skin_default/icons/icon_dolby.png" position="645,48" zPosition="1" size="26,16" alphatest="on">
159                         <convert type="ServiceInfo">IsMultichannel</convert>
160                         <convert type="ConditionalShowHide" />
161                 </widget>
162                 <!-- Progressbar (current event duration)-->
163                 <ePixmap pixmap="skin_default/progress_bg.png" position="48,77" size="84,7" transparent="1" alphatest="on" />
164                 <widget source="session.Event_Now" render="Progress" pixmap="skin_default/progress_small.png" position="50,78" zPosition="1" size="80,5" transparent="1">
165                         <convert type="EventTime">Progress</convert>
166                 </widget>
167                 <!-- Blinking pixmap (recording in progress?) -->
168                 <ePixmap pixmap="skin_default/icons/icon_rec_off.png" position="561,21" size="34,21" />
169                 <widget source="session.RecordState" render="Pixmap" pixmap="skin_default/icons/icon_rec.png" position="561,21" zPosition="1" size="34,21">
170                         <convert type="ConditionalShowHide">Blink</convert>
171                 </widget>
172                 <!-- Event (now) -->
173                 <ePixmap pixmap="skin_default/icons/icon_event.png" position="182,78" size="15,10" alphatest="on" />
174                 <widget source="session.Event_Now" render="Label" position="205,73" size="60,24" font="Regular;20" backgroundColor="#34406f" shadowColor="#1d354c" shadowOffset="-1,-1" transparent="1">
175                         <convert type="EventTime">StartTime</convert>
176                         <convert type="ClockToText">Default</convert>
177                 </widget>
178                 <widget source="session.Event_Now" render="Label" position="265,73" size="320,24" font="Regular;20" noWrap="1" backgroundColor="#34406f" shadowColor="#1d354c" shadowOffset="-1,-1" transparent="1">
179                         <convert type="EventName">Name</convert>
180                 </widget>
181                 <widget source="session.Event_Now" render="Label" position="585,73" size="85,24" font="Regular;20" backgroundColor="#34406f" shadowColor="#1d354c" shadowOffset="-1,-1" halign="right" transparent="1">
182                         <convert type="EventTime">Remaining</convert>
183                         <convert type="RemainingToText">InMinutes</convert>
184                 </widget>
185                 <!-- Event (next) -->
186                 <widget source="session.Event_Next" render="Label" position="205,97" size="60,24" font="Regular;20" backgroundColor="#071f38" foregroundColor="#c3c3c9" transparent="1">
187                         <convert type="EventTime">StartTime</convert>
188                         <convert type="ClockToText">Default</convert>
189                 </widget>
190                 <widget source="session.Event_Next" render="Label" position="265,97" size="320,24" font="Regular;20" noWrap="1" backgroundColor="#071f38" foregroundColor="#c3c3c9" transparent="1">
191                         <convert type="EventName">Name</convert>
192                 </widget>
193                 <widget source="session.Event_Next" render="Label" position="585,97" size="85,24" font="Regular;20" backgroundColor="#071f38" foregroundColor="#c3c3c9" halign="right" transparent="1">
194                         <convert type="EventTime">Duration</convert>
195                         <convert type="ClockToText">InMinutes</convert>
196                 </widget>
197                 <!-- Red button (is recording possible?) -->
198                 <ePixmap pixmap="skin_default/buttons/button_red_off.png" position="212,130" size="15,16" alphatest="on" />
199                 <widget source="RecordingPossible" render="Pixmap" pixmap="skin_default/buttons/button_red.png" position="212,130" zPosition="1" size="15,16" alphatest="on">
200                         <convert type="ConditionalShowHide" />
201                 </widget>
202                 <!--eLabel text="Record" position="232,130" size="80,22" font="Regular;16" foregroundColor="#7f848d" backgroundColor="#182946" transparent="1" /-->
203                 <widget source="ShowRecordOnRed" render="FixedLabel" text="Record" position="232,130" zPosition="1" size="80,22" font="Regular;16" foregroundColor="#7f848d" backgroundColor="#182946" transparent="1">
204                         <convert type="ConditionalShowHide" />
205                 </widget>
206                 <widget source="RecordingPossible" render="FixedLabel" text="Record" position="232,130" zPosition="1" size="80,22" font="Regular;16" backgroundColor="#182946" shadowColor="#1d354c" shadowOffset="-1,-1" transparent="1">
207                         <convert type="ConditionalShowHide" />
208                 </widget>
209                 <!-- Green button (is subservices available?) -->
210                 <ePixmap pixmap="skin_default/buttons/button_green_off.png" position="315,130" size="15,16" alphatest="on" />
211                 <widget source="session.CurrentService" render="Pixmap" pixmap="skin_default/buttons/button_green.png" position="315,130" zPosition="1" size="15,16" alphatest="on">
212                         <convert type="ServiceInfo">SubservicesAvailable</convert>
213                         <convert type="ConditionalShowHide" />
214                 </widget>
215                 <eLabel text="Subservices" position="335,130" size="100,22" font="Regular;16" foregroundColor="#7f848d" backgroundColor="#182946" transparent="1" />
216                 <widget source="session.CurrentService" render="FixedLabel" text="Subservices" position="335,130" zPosition="1" size="100,22" font="Regular;16" backgroundColor="#182946" shadowColor="#1d354c" shadowOffset="-1,-1" transparent="1">
217                         <convert type="ServiceInfo">SubservicesAvailable</convert>
218                         <convert type="ConditionalShowHide" />
219                 </widget>
220                 <!-- Yellow button (is timeshift possible?) -->
221                 <ePixmap pixmap="skin_default/buttons/button_yellow_off.png" position="440,130" size="15,16" alphatest="on" />
222                 <widget source="TimeshiftPossible" render="Pixmap" pixmap="skin_default/buttons/button_yellow.png" position="440,130" zPosition="1" size="15,16" alphatest="on">
223                         <convert type="ConditionalShowHide" />
224                 </widget>
225                 <widget source="ShowTimeshiftOnYellow" render="FixedLabel" text="Timeshift" position="460,130" zPosition="1" size="85,22" font="Regular;16" foregroundColor="#7f848d" backgroundColor="#182946" shadowOffset="-1,-1" transparent="1">
226                         <convert type="ConditionalShowHide" />
227                 </widget>
228                 <widget source="TimeshiftPossible" render="FixedLabel" text="Timeshift" position="460,130" zPosition="1" size="85,22" font="Regular;16" backgroundColor="#182946" shadowColor="#1d354c" shadowOffset="-1,-1" transparent="1">
229                         <convert type="ConditionalShowHide" />
230                 </widget>
231                 
232                 <!-- Yellow button (used for audio on boxes with new rc?) -->
233                 <widget source="ShowAudioOnYellow" render="Pixmap" pixmap="skin_default/buttons/button_yellow.png" position="440,130" zPosition="1" size="15,16" alphatest="on">
234                         <convert type="ConditionalShowHide" />
235                 </widget>
236                 <widget source="ShowAudioOnYellow" render="FixedLabel" text="Audio" position="460,130" zPosition="1" size="85,22" font="Regular;16" backgroundColor="#182946" shadowColor="#1d354c" shadowOffset="-1,-1" transparent="1">
237                         <convert type="ConditionalShowHide" />
238                 </widget>
239                 <!-- Blue button (is extensions available?) -->
240                 <ePixmap pixmap="skin_default/buttons/button_blue_off.png" position="545,130" size="15,16" alphatest="on" />
241                 <widget source="ExtensionsAvailable" render="Pixmap" pixmap="skin_default/buttons/button_blue.png" position="545,130" zPosition="1" size="15,16" alphatest="on">
242                         <convert type="ConditionalShowHide" />
243                 </widget>
244                 <eLabel text="Extensions" position="565,130" size="110,22" font="Regular;16" foregroundColor="#7f848d" backgroundColor="#182946" transparent="1" />
245                 <widget source="ExtensionsAvailable" render="FixedLabel" text="Extensions" position="565,130" zPosition="1" size="110,22" font="Regular;16" backgroundColor="#182946" shadowColor="#1d354c" shadowOffset="-1,-1" transparent="1">
246                         <convert type="ConditionalShowHide" />
247                 </widget>
248         </screen>
249         <!-- Main menu -->
250         <screen name="menu_mainmenu" position="170,150" size="380,285" title="Main menu">
251                 <widget source="title" render="Label" position="170,10" size="200,35" font="Regular;23" />
252                 <widget source="menu" render="Listbox" position="170,55" size="200,225" scrollbarMode="showOnDemand">
253                         <convert type="StringList" />
254                 </widget>
255                 <widget source="menu" render="Pixmap" pixmap="skin_default/menu/shutdown.png" position="20,20" size="128,128" alphatest="on">
256                         <convert type="MenuEntryCompare">standby_restart_list</convert>
257                         <convert type="ConditionalShowHide" />
258                 </widget>
259                 <widget source="menu" render="Pixmap" pixmap="skin_default/menu/setup.png" position="20,20" size="128,128" alphatest="on">
260                         <convert type="MenuEntryCompare">setup_selection</convert>
261                         <convert type="ConditionalShowHide" />
262                 </widget>
263                 <widget source="menu" render="Pixmap" pixmap="skin_default/menu/plugins.png" position="20,20" size="128,128" alphatest="on">
264                         <convert type="MenuEntryCompare">plugin_selection</convert>
265                         <convert type="ConditionalShowHide" />
266                 </widget>
267                 <widget source="menu" render="Pixmap" pixmap="skin_default/menu/information.png" position="20,20" size="128,128" alphatest="on">
268                         <convert type="MenuEntryCompare">info_screen</convert>
269                         <convert type="ConditionalShowHide" />
270                 </widget>
271                 <widget source="menu" render="Pixmap" pixmap="skin_default/menu/scart.png" position="20,20" size="128,128" alphatest="on">
272                         <convert type="MenuEntryCompare">scart_switch</convert>
273                         <convert type="ConditionalShowHide" />
274                 </widget>
275                 <widget source="menu" render="Pixmap" pixmap="skin_default/menu/timer.png" position="20,20" size="128,128" alphatest="on">
276                         <convert type="MenuEntryCompare">timer_edit</convert>
277                         <convert type="ConditionalShowHide" />
278                 </widget>
279                 <widget source="menu" render="Pixmap" pixmap="skin_default/menu/media_player.png" position="20,20" size="128,128" alphatest="on">
280                         <convert type="MenuEntryCompare">media_player</convert>
281                         <convert type="ConditionalShowHide" />
282                 </widget>
283                 <widget source="menu" render="Pixmap" pixmap="skin_default/menu/dvd_player.png" position="20,20" size="128,128" alphatest="on">
284                         <convert type="MenuEntryCompare">dvd_player</convert>
285                         <convert type="ConditionalShowHide" />
286                 </widget>
287                 <widget source="menu" render="Pixmap" pixmap="skin_default/menu/subtitles.png" position="20,20" size="128,128" alphatest="on">
288                         <convert type="MenuEntryCompare">subtitle_selection</convert>
289                         <convert type="ConditionalShowHide"/>
290                 </widget>
291         </screen>
292         <!-- Movieplayer infobar -->
293         <screen name="MoviePlayer" flags="wfNoBorder" position="0,380" size="720,160" title="InfoBar" backgroundColor="transparent">
294                 <!-- Background -->
295                 <ePixmap position="0,0" pixmap="skin_default/info-bg_mp.png" zPosition="-1" size="720,160" />
296                 <ePixmap position="29,40" pixmap="skin_default/screws_mp.png" size="665,104" alphatest="on" />
297                 <!-- colorbuttons -->
298                 <ePixmap position="48,70" pixmap="skin_default/icons/mp_buttons.png" size="108,13" alphatest="on" />
299                 <!-- Servicename -->
300                 <ePixmap pixmap="skin_default/icons/icon_event.png" position="207,78" size="15,10" alphatest="on" />
301                 <widget source="session.CurrentService" render="Label" position="230,73" size="360,40" font="Regular;20" backgroundColor="#263c59" shadowColor="#1d354c" shadowOffset="-1,-1" transparent="1">
302                         <convert type="ServiceName">Name</convert>
303                 </widget>
304                 <!-- movie length -->
305                 <widget source="session.CurrentService" render="Label" position="580,73" size="90,24" font="Regular;20" halign="right" backgroundColor="#4e5a74" transparent="1">
306                         <convert type="ServicePosition">Length</convert>
307                 </widget>
308                 <!-- Elapsed time -->
309                 <widget source="session.CurrentService" render="Label" position="205,129" size="100,20" font="Regular;18" halign="center" valign="center" backgroundColor="#06224f" shadowColor="#1d354c" shadowOffset="-1,-1" transparent="1">
310                         <convert type="ServicePosition">Position</convert>
311                 </widget>
312                 <!-- Progressbar (movie position)-->
313                 <widget source="session.CurrentService" render="PositionGauge" position="300,133" size="270,10" zPosition="2" pointer="skin_default/position_pointer.png:540,0" transparent="1">
314                         <convert type="ServicePosition">Gauge</convert>
315                 </widget>
316                 <!-- Remaining time -->
317                 <widget source="session.CurrentService" render="Label" position="576,129" size="100,20" font="Regular;18" halign="center" valign="center" backgroundColor="#06224f" shadowColor="#1d354c" shadowOffset="-1,-1" transparent="1">
318                         <convert type="ServicePosition">Remaining</convert>
319                 </widget>
320         </screen>
321 </skin>