blink frontpanel led when record is running
[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 for Framebuffer, id=1 for LCD) -->
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_w_tl.png" />
40                         <pixmap pos="bpTop" filename="skin_default/b_w_t.png"  />
41                         <pixmap pos="bpTopRight" filename="skin_default/b_w_tr.png" />
42                         <pixmap pos="bpLeft" filename="skin_default/b_w_l.png"  />
43                         <pixmap pos="bpRight" filename="skin_default/b_w_r.png"  />
44                         <pixmap pos="bpBottomLeft" filename="skin_default/b_w_bl.png" />
45                         <pixmap pos="bpBottom" filename="skin_default/b_w_b.png"  />
46                         <pixmap pos="bpBottomRight" filename="skin_default/b_w_br.png" />
47                 </borderset>
48         </windowstyle>
49         <!-- Fonts -->
50         <fonts>
51                 <font filename="nmsbd.ttf" name="Regular" scale="90" />
52                 <font filename="lcd.ttf" name="LCD" scale="100" />
53                 <font filename="ae_AlMateen.ttf" name="Replacement" scale="90" replacement="1" />
54         </fonts>
55         <!-- Main infobar -->
56         <screen name="InfoBar" flags="wfNoBorder" position="0,380" size="720,160" title="InfoBar" backgroundColor="transparent" >
57                 <!-- Background -->
58                 <ePixmap position="0,0" zPosition="-1" size="720,160" pixmap="skin_default/info-bg.png" alphatest="off" />
59                 <ePixmap position="27,73" zPosition="0" size="665,71" pixmap="skin_default/screws.png" alphatest="on" transparent="1" />
60                 <!-- Signal Quality -->
61                 <eLabel text="SNR" position="205,3" size="40,22" font="Regular;16" backgroundColor="#102e59" foregroundColor="#cccccc" shadowColor="#27384f" shadowOffset="-1,-1" transparent="1" />
62                 <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" >
63                         <convert type="FrontendInfo">SNRdB</convert>
64                 </widget>
65                 <!-- Signal Strength -->
66                 <eLabel text="AGC" position="317,3" size="40,22" font="Regular;16" backgroundColor="#102e59" foregroundColor="#cccccc" shadowColor="#27384f" shadowOffset="-1,-1" transparent="1" />
67                 <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" >
68                         <convert type="FrontendInfo">AGC</convert>
69                 </widget>
70                 <!-- Bit error rate -->
71                 <eLabel text="BER" position="403,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="440,3" size="43,22" font="Regular;16" backgroundColor="#102e59" foregroundColor="#e7e7e7" shadowColor="#27384f" shadowOffset="-1,-1" transparent="1" >
73                         <convert type="FrontendInfo">BER</convert>
74                 </widget>
75                 <!-- Signal Icons -->
76                 <ePixmap position="487,4" zPosition="1" size="55,15" pixmap="skin_default/led_off.png" alphatest="on" />
77                 <widget source="session.FrontendStatus" render="Pixmap" pixmap="skin_default/led_red.png" position="488,4" zPosition="2" size="15,15" transparent="1" alphatest="on">
78                         <convert type="FrontendInfo">SNR</convert>
79                         <convert type="ValueRange">0,39699</convert>
80                         <convert type="ConditionalShowHide" />
81                 </widget>
82                 <widget source="session.FrontendStatus" render="Pixmap" pixmap="skin_default/led_yellow.png" position="488,4" zPosition="2" size="15,15" transparent="1" alphatest="on">
83                         <convert type="FrontendInfo">SNR</convert>
84                         <convert type="ValueRange">36700,45875</convert>
85                         <convert type="ConditionalShowHide" />
86                 </widget>
87                 <widget source="session.FrontendStatus" render="Pixmap" pixmap="skin_default/led_green.png" position="488,4" zPosition="2" size="15,15" transparent="1" alphatest="on">
88                         <convert type="FrontendInfo">SNR</convert>
89                         <convert type="ValueRange">45876,65536</convert>
90                         <convert type="ConditionalShowHide" />
91                 </widget>
92                 <widget source="session.FrontendStatus" render="Pixmap" pixmap="skin_default/led_yellow.png" position="508,4" zPosition="2" size="15,15" transparent="1" alphatest="on">
93                         <convert type="FrontendInfo">AGC</convert>
94                         <convert type="ValueRange">0,39699</convert>
95                         <convert type="ConditionalShowHide" />
96                 </widget>
97                 <widget source="session.FrontendStatus" render="Pixmap" pixmap="skin_default/led_green.png" position="508,4" zPosition="2" size="15,15" transparent="1" alphatest="on">
98                         <convert type="FrontendInfo">AGC</convert>
99                         <convert type="ValueRange">36700,65536</convert>
100                         <convert type="ConditionalShowHide" />
101                 </widget>
102                 <ePixmap pixmap="skin_default/led_green.png" position="528,4" zPosition="2" size="15,15" alphatest="on" />
103                 <widget source="session.FrontendStatus" render="Pixmap" pixmap="skin_default/led_red.png" position="528,4" zPosition="3" size="15,15" transparent="1" alphatest="on" >
104                         <convert type="FrontendInfo">BER</convert>              
105                         <convert type="ConditionalShowHide" />
106                 </widget>       
107                 <!-- Channellogo (Picon) -->
108                 <widget source="session.CurrentService" render="Picon" position="47,2" zPosition="2" size="74,57" >
109                         <convert type="ServiceName">Reference</convert>
110                 </widget>
111                 <!-- Service name -->
112                 <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" >
113                         <convert type="ServiceName">Name</convert>
114                 </widget>
115                 <!-- Time -->
116                 <ePixmap pixmap="skin_default/clock.png" position="600,23" zPosition="0" size="14,14" alphatest="on"/>
117                 <widget source="global.CurrentTime" render="Label" position="615,21" size="55,24" font="Regular;21" halign="right" backgroundColor="#4e5a74" transparent="1" >
118                         <convert type="ClockToText">Default</convert>
119                 </widget>
120                 <!-- tuners in use? -->
121                 <widget source="session.FrontendInfo" render="Pixmap" position="129,6" zPosition="1" size="9,9" pixmap="skin_default/nim_a.png" alphatest="on" >
122                         <convert type="FrontendInfo">NUMBER</convert>
123                         <convert type="ValueRange">0,0</convert>
124                         <convert type="ConditionalShowHide" />
125                 </widget>
126                 <widget source="session.FrontendInfo" render="Pixmap" position="129,20" zPosition="1" size="9,9" pixmap="skin_default/nim_b.png" alphatest="on" >
127                         <convert type="FrontendInfo">NUMBER</convert>
128                         <convert type="ValueRange">1,1</convert>
129                         <convert type="ConditionalShowHide" />
130                 </widget>
131                 <widget source="session.TunerInfo" render="Pixmap" position="142,6" zPosition="1" size="8,9" pixmap="skin_default/nim_active.png" alphatest="on" >
132                         <convert type="TunerInfo">TunerUseMask</convert>
133                         <convert type="ValueBitTest">1</convert>
134                         <convert type="ConditionalShowHide" />
135                 </widget>
136                 <widget source="session.TunerInfo" render="Pixmap" position="142,20" zPosition="1" size="8,9" pixmap="skin_default/nim_active.png" alphatest="on" >
137                         <convert type="TunerInfo">TunerUseMask</convert>
138                         <convert type="ValueBitTest">2</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_off.png" alphatest="off"/>
143                 <widget source="session.CurrentService" render="Pixmap" pixmap="skin_default/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/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/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/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" zPosition="0" 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                 <widget source="session.RecordState" render="Pixmap" pixmap="skin_default/icon_rec.png" position="561,21" zPosition="2" size="34,21" alphatest="off">
169                         <convert type="ConditionalShowHide">Blink</convert>
170                 </widget>
171                 <!-- Event (now) -->
172                 <ePixmap pixmap="skin_default/icon_event.png" position="182,78" zPosition="1" size="15,10" alphatest="on" />
173                 <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" >
174                         <convert type="EventTime">StartTime</convert>
175                         <convert type="ClockToText">Default</convert>
176                 </widget>
177                 <widget source="session.Event_Now" render="Label" position="265,73" size="310,24" font="Regular;20" noWrap="1" backgroundColor="#34406f" shadowColor="#1d354c" shadowOffset="-1,-1" transparent="1" >
178                         <convert type="EventName">Name</convert>
179                 </widget>
180                 <widget source="session.Event_Now" render="Label" position="580,73" size="90,24" font="Regular;20" backgroundColor="#34406f" shadowColor="#1d354c" shadowOffset="-1,-1" halign="right" transparent="1" >
181                         <convert type="EventTime">Remaining</convert>
182                         <convert type="RemainingToText">InMinutes</convert>
183                 </widget>
184                 <!-- Event (next) -->
185                 <widget source="session.Event_Next" render="Label" position="205,97" size="60,24" font="Regular;20" backgroundColor="#071f38" foregroundColor="#c3c3c9" transparent="1" >
186                         <convert type="EventTime">StartTime</convert>
187                         <convert type="ClockToText">Default</convert>
188                 </widget>
189                 <widget source="session.Event_Next" render="Label" position="265,97" size="310,24" font="Regular;20" noWrap="1" backgroundColor="#071f38" foregroundColor="#c3c3c9" transparent="1" >
190                         <convert type="EventName">Name</convert>
191                 </widget>
192                 <widget source="session.Event_Next" render="Label" position="580,97" size="90,24" font="Regular;20" backgroundColor="#071f38" foregroundColor="#c3c3c9" halign="right" transparent="1" >
193                         <convert type="EventTime">Duration</convert>
194                         <convert type="ClockToText">InMinutes</convert>
195                 </widget>
196                 <!-- Red button (is recording possible?) -->
197                 <ePixmap position="212,130" zPosition="1" size="15,16" pixmap="skin_default/button_red_off.png" transparent="1" alphatest="on" />
198                 <widget source="RecordingPossible" render="Pixmap" pixmap="skin_default/button_red.png" position="212,130" zPosition="2" size="15,16" transparent="1" alphatest="on" >
199                         <convert type="ConditionalShowHide" />
200                 </widget>
201                 <eLabel text="Record" position="232,130" size="80,22" font="Regular;16" foregroundColor="#7f848d" backgroundColor="#182946" transparent="1" />
202                 <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" >
203                         <convert type="ConditionalShowHide" />
204                 </widget>
205                 <!-- Green button (is subservices available?) -->
206                 <ePixmap position="315,130" zPosition="1" size="15,16" pixmap="skin_default/button_green_off.png" transparent="1" alphatest="on" />
207                 <widget source="session.CurrentService" render="Pixmap" pixmap="skin_default/button_green.png" position="315,130" zPosition="2" size="15,16" transparent="1" alphatest="on" >
208                         <convert type="ServiceInfo">SubservicesAvailable</convert>
209                         <convert type="ConditionalShowHide" />
210                 </widget>
211                 <eLabel text="Subservices" position="335,130" size="100,22" font="Regular;16" foregroundColor="#7f848d" backgroundColor="#182946" transparent="1" />
212                 <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" >
213                         <convert type="ServiceInfo">SubservicesAvailable</convert>
214                         <convert type="ConditionalShowHide" />
215                 </widget>
216                 <!-- Yellow button (is timeshift possible?) -->
217                 <ePixmap position="440,130" zPosition="1" size="15,16" pixmap="skin_default/button_yellow_off.png" transparent="1" alphatest="on" />
218                 <widget source="TimeshiftPossible" render="Pixmap" pixmap="skin_default/button_yellow.png" position="440,130" zPosition="2" size="15,16" transparent="1" alphatest="on" >
219                         <convert type="ConditionalShowHide" />
220                 </widget>
221                 <eLabel text="Timeshift" position="460,130" size="85,22" font="Regular;16" foregroundColor="#7f848d" backgroundColor="#182946" transparent="1" />
222                 <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" >
223                         <convert type="ConditionalShowHide" />
224                 </widget>
225                 <!-- Blue button (is extensions available?) -->
226                 <ePixmap position="545,130" zPosition="1" size="15,16" pixmap="skin_default/button_blue_off.png" transparent="1" alphatest="on" />
227                 <widget source="ExtensionsAvailable" render="Pixmap" pixmap="skin_default/button_blue.png" position="545,130" zPosition="2" size="15,16" transparent="1" alphatest="on" >
228                         <convert type="ConditionalShowHide" />
229                 </widget>
230                 <eLabel text="Extensions" position="565,130" size="110,22" font="Regular;16" foregroundColor="#7f848d" backgroundColor="#182946" transparent="1" />
231                 <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" >
232                         <convert type="ConditionalShowHide" />
233                 </widget>
234         </screen>
235         <!-- Main menu -->
236         <screen name="menu_mainmenu" position="150,150" size="420,285" title="Main menu" >
237                 <widget source="title" render="Label" position="170,10" size="280,35" font="Regular;23" />
238                 <widget source="menu" render="Listbox" position="170,55" size="230,225" scrollbarMode="showOnDemand" >
239                         <convert type="StringList" />
240                 </widget>
241                 <widget source="menu" render="Pixmap" pixmap="skin_default/menu/shutdown.png" position="20,20" size="128,128" >
242                         <convert type="MenuEntryCompare">standby_restart_list</convert>
243                         <convert type="ConditionalShowHide" />
244                 </widget>
245                 <widget source="menu" render="Pixmap" pixmap="skin_default/menu/setup.png" position="20,20" size="128,128" >
246                         <convert type="MenuEntryCompare">setup_selection</convert>
247                         <convert type="ConditionalShowHide" />
248                 </widget>
249                 <widget source="menu" render="Pixmap" pixmap="skin_default/menu/plugins.png" position="20,20" size="128,128" >
250                         <convert type="MenuEntryCompare">plugin_selection</convert>
251                         <convert type="ConditionalShowHide" />
252                 </widget>
253                 <widget source="menu" render="Pixmap" pixmap="skin_default/menu/information.png" position="20,20" size="128,128" >
254                         <convert type="MenuEntryCompare">info_screen</convert>
255                         <convert type="ConditionalShowHide" />
256                 </widget>
257                 <widget source="menu" render="Pixmap" pixmap="skin_default/menu/scart.png" position="20,20" size="128,128" >
258                         <convert type="MenuEntryCompare">scart_switch</convert>
259                         <convert type="ConditionalShowHide" />
260                 </widget>
261                 <widget source="menu" render="Pixmap" pixmap="skin_default/menu/timer.png" position="20,20" size="128,128" >
262                         <convert type="MenuEntryCompare">timer_edit</convert>
263                         <convert type="ConditionalShowHide" />
264                 </widget>
265                 <widget source="menu" render="Pixmap" pixmap="skin_default/menu/media_player.png" position="20,20" size="128,128" >
266                         <convert type="MenuEntryCompare">media_player</convert>
267                         <convert type="ConditionalShowHide" />
268                 </widget>
269                 <widget source="menu" render="Pixmap" pixmap="skin_default/menu/subtitles.png" position="20,20" size="128,128" >
270                         <convert type="MenuEntryCompare">subtitle_selection</convert>
271                         <convert type="ConditionalShowHide"/>
272                 </widget>
273         </screen>
274         <!-- Movieplayer infobar -->
275         <screen name="MoviePlayer" flags="wfNoBorder" position="0,380" size="720,160" title="InfoBar" backgroundColor="transparent" >
276                 <!-- Background -->
277                 <ePixmap position="0,0" zPosition="-2" size="720,160" pixmap="skin_default/info-bg_mp.png" alphatest="off" />
278                 <ePixmap position="29,40" zPosition="0" size="665,104" pixmap="skin_default/screws_mp.png" alphatest="on" transparent="1" />
279                 <!-- colorbuttons -->
280                 <ePixmap position="48,70" zPosition="0" size="108,13" pixmap="skin_default/mp_buttons.png" alphatest="on" />
281                 <!-- Servicename -->
282                 <ePixmap pixmap="skin_default/icon_event.png" position="207,78" zPosition="1" size="15,10" alphatest="on" />
283                 <widget source="session.CurrentService" render="Label" position="230,73" size="360,40" font="Regular;20" backgroundColor="#263c59" shadowColor="#1d354c" shadowOffset="-1,-1" transparent="1" >
284                         <convert type="ServiceName">Name</convert>
285                 </widget>
286                 <!-- movie length -->
287                 <widget source="session.CurrentService" render="Label" position="580,73" size="90,24" font="Regular;20" halign="right" backgroundColor="#4e5a74" transparent="1" >
288                         <convert type="ServicePosition">Length</convert>
289                 </widget>
290                 <!-- Elapsed time -->
291                 <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" >
292                         <convert type="ServicePosition">Position</convert>
293                 </widget>
294                 <!-- Progressbar (movie position)-->
295                 <widget source="session.CurrentService" render="PositionGauge" position="300,133" size="270,10" zPosition="2" pointer="skin_default/position_pointer.png:540,0" transparent="1" >
296                         <convert type="ServicePosition">Gauge</convert>
297                 </widget>
298                 <!-- Remaining time -->
299                 <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" >
300                         <convert type="ServicePosition">Remaining</convert>
301                 </widget>
302         </screen>
303 </skin>