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