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