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