8e5f7814c4636b18494cab19ef8c88022e83a9b9
[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,20" 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.TunerInfo" render="FixedLabel" text="A" position="129,4" size="15,15" font="Regular;14" backgroundColor="#4e5a74" transparent="1">
117                         <convert type="TunerInfo">TunerUseMask</convert>
118                         <convert type="ValueBitTest">1</convert>
119                         <convert type="ConditionalShowHide" />
120                 </widget>
121                 <widget source="session.TunerInfo" render="FixedLabel" text="B" position="129,19" size="15,15" font="Regular;14" backgroundColor="#4e5a74" transparent="1">
122                         <convert type="TunerInfo">TunerUseMask</convert>
123                         <convert type="ValueBitTest">2</convert>
124                         <convert type="ConditionalShowHide" />
125                 </widget>
126                 <!-- Crypt icon (encrypted service?) -->
127                 <ePixmap position="563,48" zPosition="0" size="107,15" pixmap="skin_default/icons/icons_off.png" />
128                 <widget source="session.CurrentService" render="Pixmap" pixmap="skin_default/icons/icon_crypt.png" position="563,48" zPosition="1" size="12,16" alphatest="on">
129                         <convert type="ServiceInfo">IsCrypted</convert>
130                         <convert type="ConditionalShowHide" />
131                 </widget>
132                 <!-- Teletext icon (is teletext available?) -->
133                 <widget source="session.CurrentService" render="Pixmap" pixmap="skin_default/icons/icon_txt.png" position="580,48" zPosition="1" size="26,16" alphatest="on">
134                         <convert type="ServiceInfo">HasTelext</convert>
135                         <convert type="ConditionalShowHide" />
136                 </widget>
137                 <!-- Videoformat icon (16:9?) -->
138                 <widget source="session.CurrentService" render="Pixmap" pixmap="skin_default/icons/icon_format.png" position="611,48" zPosition="1" size="29,16" alphatest="on">
139                         <convert type="ServiceInfo">IsWidescreen</convert>
140                         <convert type="ConditionalShowHide" />
141                 </widget>
142                 <!-- Audio icon (is there multichannel audio?) -->
143                 <widget source="session.CurrentService" render="Pixmap" pixmap="skin_default/icons/icon_dolby.png" position="645,48" zPosition="1" size="26,16" alphatest="on">
144                         <convert type="ServiceInfo">IsMultichannel</convert>
145                         <convert type="ConditionalShowHide" />
146                 </widget>
147                 <!-- Progressbar (current event duration)-->
148                 <ePixmap pixmap="skin_default/progress_bg.png" position="48,77" size="84,7" transparent="1" alphatest="on" />
149                 <widget source="session.Event_Now" render="Progress" pixmap="skin_default/progress_small.png" position="50,78" zPosition="1" size="80,5" transparent="1">
150                         <convert type="EventTime">Progress</convert>
151                 </widget>
152                 <!-- Blinking pixmap (recording in progress?) -->
153                 <ePixmap pixmap="skin_default/icons/icon_rec_off.png" position="561,21" size="34,21" />
154                 <widget source="session.RecordState" render="Pixmap" pixmap="skin_default/icons/icon_rec.png" position="561,21" zPosition="1" size="34,21">
155                         <convert type="ConditionalShowHide">Blink</convert>
156                 </widget>
157                 <!-- Event (now) -->
158                 <ePixmap pixmap="skin_default/icons/icon_event.png" position="182,78" size="15,10" alphatest="on" />
159                 <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">
160                         <convert type="EventTime">StartTime</convert>
161                         <convert type="ClockToText">Default</convert>
162                 </widget>
163                 <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">
164                         <convert type="EventName">Name</convert>
165                 </widget>
166                 <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">
167                         <convert type="EventTime">Remaining</convert>
168                         <convert type="RemainingToText">InMinutes</convert>
169                 </widget>
170                 <!-- Event (next) -->
171                 <widget source="session.Event_Next" render="Label" position="205,97" size="60,24" font="Regular;20" backgroundColor="#071f38" foregroundColor="#c3c3c9" transparent="1">
172                         <convert type="EventTime">StartTime</convert>
173                         <convert type="ClockToText">Default</convert>
174                 </widget>
175                 <widget source="session.Event_Next" render="Label" position="265,97" size="320,24" font="Regular;20" noWrap="1" backgroundColor="#071f38" foregroundColor="#c3c3c9" transparent="1">
176                         <convert type="EventName">Name</convert>
177                 </widget>
178                 <widget source="session.Event_Next" render="Label" position="585,97" size="85,24" font="Regular;20" backgroundColor="#071f38" foregroundColor="#c3c3c9" halign="right" transparent="1">
179                         <convert type="EventTime">Duration</convert>
180                         <convert type="ClockToText">InMinutes</convert>
181                 </widget>
182                 <!-- Red button (is recording possible?) -->
183                 <ePixmap pixmap="skin_default/buttons/button_red_off.png" position="212,130" size="15,16" alphatest="on" />
184                 <widget source="RecordingPossible" render="Pixmap" pixmap="skin_default/buttons/button_red.png" position="212,130" zPosition="1" size="15,16" alphatest="on">
185                         <convert type="ConditionalShowHide" />
186                 </widget>
187                 <eLabel text="Record" position="232,130" size="80,22" font="Regular;16" foregroundColor="#7f848d" backgroundColor="#182946" transparent="1" />
188                 <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">
189                         <convert type="ConditionalShowHide" />
190                 </widget>
191                 <!-- Green button (is subservices available?) -->
192                 <ePixmap pixmap="skin_default/buttons/button_green_off.png" position="315,130" size="15,16" alphatest="on" />
193                 <widget source="session.CurrentService" render="Pixmap" pixmap="skin_default/buttons/button_green.png" position="315,130" zPosition="1" size="15,16" alphatest="on">
194                         <convert type="ServiceInfo">SubservicesAvailable</convert>
195                         <convert type="ConditionalShowHide" />
196                 </widget>
197                 <eLabel text="Subservices" position="335,130" size="100,22" font="Regular;16" foregroundColor="#7f848d" backgroundColor="#182946" transparent="1" />
198                 <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">
199                         <convert type="ServiceInfo">SubservicesAvailable</convert>
200                         <convert type="ConditionalShowHide" />
201                 </widget>
202                 <!-- Yellow button (is timeshift possible?) -->
203                 <ePixmap pixmap="skin_default/buttons/button_yellow_off.png" position="440,130" size="15,16" alphatest="on" />
204                 <widget source="TimeshiftPossible" render="Pixmap" pixmap="skin_default/buttons/button_yellow.png" position="440,130" zPosition="1" size="15,16" alphatest="on">
205                         <convert type="ConditionalShowHide" />
206                 </widget>
207                 <eLabel text="Timeshift" position="460,130" size="85,22" font="Regular;16" foregroundColor="#7f848d" backgroundColor="#182946" transparent="1" />
208                 <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">
209                         <convert type="ConditionalShowHide" />
210                 </widget>
211                 <!-- Blue button (is extensions available?) -->
212                 <ePixmap pixmap="skin_default/buttons/button_blue_off.png" position="545,130" size="15,16" alphatest="on" />
213                 <widget source="ExtensionsAvailable" render="Pixmap" pixmap="skin_default/buttons/button_blue.png" position="545,130" zPosition="1" size="15,16" alphatest="on">
214                         <convert type="ConditionalShowHide" />
215                 </widget>
216                 <eLabel text="Extensions" position="565,130" size="110,22" font="Regular;16" foregroundColor="#7f848d" backgroundColor="#182946" transparent="1" />
217                 <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">
218                         <convert type="ConditionalShowHide" />
219                 </widget>
220         </screen>
221         <!-- Main menu -->
222         <screen name="menu_mainmenu" position="170,150" size="380,285" title="Main menu">
223                 <widget source="title" render="Label" position="170,10" size="200,35" font="Regular;23" />
224                 <widget source="menu" render="Listbox" position="170,55" size="200,225" scrollbarMode="showOnDemand">
225                         <convert type="StringList" />
226                 </widget>
227                 <widget source="menu" render="Pixmap" pixmap="skin_default/menu/shutdown.png" position="20,20" size="128,128" alphatest="on">
228                         <convert type="MenuEntryCompare">standby_restart_list</convert>
229                         <convert type="ConditionalShowHide" />
230                 </widget>
231                 <widget source="menu" render="Pixmap" pixmap="skin_default/menu/setup.png" position="20,20" size="128,128" alphatest="on">
232                         <convert type="MenuEntryCompare">setup_selection</convert>
233                         <convert type="ConditionalShowHide" />
234                 </widget>
235                 <widget source="menu" render="Pixmap" pixmap="skin_default/menu/plugins.png" position="20,20" size="128,128" alphatest="on">
236                         <convert type="MenuEntryCompare">plugin_selection</convert>
237                         <convert type="ConditionalShowHide" />
238                 </widget>
239                 <widget source="menu" render="Pixmap" pixmap="skin_default/menu/information.png" position="20,20" size="128,128" alphatest="on">
240                         <convert type="MenuEntryCompare">info_screen</convert>
241                         <convert type="ConditionalShowHide" />
242                 </widget>
243                 <widget source="menu" render="Pixmap" pixmap="skin_default/menu/scart.png" position="20,20" size="128,128" alphatest="on">
244                         <convert type="MenuEntryCompare">scart_switch</convert>
245                         <convert type="ConditionalShowHide" />
246                 </widget>
247                 <widget source="menu" render="Pixmap" pixmap="skin_default/menu/timer.png" position="20,20" size="128,128" alphatest="on">
248                         <convert type="MenuEntryCompare">timer_edit</convert>
249                         <convert type="ConditionalShowHide" />
250                 </widget>
251                 <widget source="menu" render="Pixmap" pixmap="skin_default/menu/media_player.png" position="20,20" size="128,128" alphatest="on">
252                         <convert type="MenuEntryCompare">media_player</convert>
253                         <convert type="ConditionalShowHide" />
254                 </widget>
255                 <widget source="menu" render="Pixmap" pixmap="skin_default/menu/subtitles.png" position="20,20" size="128,128" alphatest="on">
256                         <convert type="MenuEntryCompare">subtitle_selection</convert>
257                         <convert type="ConditionalShowHide"/>
258                 </widget>
259         </screen>
260         <!-- Movieplayer infobar -->
261         <screen name="MoviePlayer" flags="wfNoBorder" position="0,380" size="720,160" title="InfoBar" backgroundColor="transparent">
262                 <!-- Background -->
263                 <ePixmap position="0,0" pixmap="skin_default/info-bg_mp.png" zPosition="-1" size="720,160" />
264                 <ePixmap position="29,40" pixmap="skin_default/screws_mp.png" size="665,104" alphatest="on" />
265                 <!-- colorbuttons -->
266                 <ePixmap position="48,70" pixmap="skin_default/icons/mp_buttons.png" size="108,13" alphatest="on" />
267                 <!-- Servicename -->
268                 <ePixmap pixmap="skin_default/icons/icon_event.png" position="207,78" size="15,10" alphatest="on" />
269                 <widget source="session.CurrentService" render="Label" position="230,73" size="360,40" font="Regular;20" backgroundColor="#263c59" shadowColor="#1d354c" shadowOffset="-1,-1" transparent="1">
270                         <convert type="ServiceName">Name</convert>
271                 </widget>
272                 <!-- movie length -->
273                 <widget source="session.CurrentService" render="Label" position="580,73" size="90,24" font="Regular;20" halign="right" backgroundColor="#4e5a74" transparent="1">
274                         <convert type="ServicePosition">Length</convert>
275                 </widget>
276                 <!-- Elapsed time -->
277                 <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">
278                         <convert type="ServicePosition">Position</convert>
279                 </widget>
280                 <!-- Progressbar (movie position)-->
281                 <widget source="session.CurrentService" render="PositionGauge" position="300,133" size="270,10" zPosition="2" pointer="skin_default/position_pointer.png:540,0" transparent="1">
282                         <convert type="ServicePosition">Gauge</convert>
283                 </widget>
284                 <!-- Remaining time -->
285                 <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">
286                         <convert type="ServicePosition">Remaining</convert>
287                 </widget>
288         </screen>
289 </skin>