don't display track when no foreground is set in position gauge
[enigma2.git] / data / skin.xml
1 <skin>
2         <colors>
3                 <color name="white"     value="#ffffff" />
4                 <color name="black"     value="#000000" />
5                 <color name="dark"      value="#33294a6b" />
6
7                 <color name="red"       value="#f23d21" />
8                 <color name="green"     value="#389416" />
9                 <color name="blue"      value="#0064c7" />
10                 <color name="yellow"    value="#bab329" />
11                 <color name="transparent"       value="#ffffffff" />
12
13                 <color name="transpBlack" value="#80000000" />
14         </colors>
15         
16         <windowstyle type="skinned">
17                 <title offset="20,5" font="Regular;20" />
18                 <color name="Background" color="#33294a6b" />
19                 <color name="LabelForeground" color="#ffffff" />
20                 <color name="ListboxBackground" color="#33294a6b" />
21                 <color name="ListboxForeground" color="#ffffff" />
22                 <color name="ListboxSelectedBackground" color="#225b7395" />
23                 <color name="ListboxSelectedForeground" color="#ffffff" />
24                 <color name="ListboxMarkedBackground" color="#ff0000" />
25                 <color name="ListboxMarkedForeground" color="#ffffff" />
26                 <color name="ListboxMarkedAndSelectedBackground" color="#800000" />
27                 <color name="ListboxMarkedAndSelectedForeground" color="#ffffff" />
28                 <color name="WindowTitleForeground" color="#ffffff" />
29                 <color name="WindowTitleBackground" color="#33294a6b" />
30                 <borderset name="bsWindow">
31                         <pixmap pos="bpTopLeft"     filename="b_w_tl.png" />
32                         <pixmap pos="bpTop"         filename="b_w_t.png"  />
33                         <pixmap pos="bpTopRight"    filename="b_w_tr.png" />
34                         <pixmap pos="bpLeft"        filename="b_w_l.png"  />
35                         <pixmap pos="bpRight"       filename="b_w_r.png"  />
36                         <pixmap pos="bpBottomLeft"  filename="b_w_bl.png" />
37                         <pixmap pos="bpBottom"      filename="b_w_b.png"  />
38                         <pixmap pos="bpBottomRight" filename="b_w_br.png" />
39                 </borderset>
40         </windowstyle>
41
42         <fonts>
43                 <font filename="md_khmurabi_10.ttf" name="Regular" scale="100" />
44                 <font filename="ae_AlMateen.ttf" name="Replacement" scale="90" replacement="1" />
45         </fonts>
46
47                 <screen name="InfoBar" flags="wfNoBorder" position="0,380" size="720,148" title="InfoBar">
48                         <ePixmap position="0,0" zPosition="-1" size="720,148" pixmap="info-bg.png" />
49 <!-- not used in this skin yet -->                      
50                         <widget name="NimA" position="0,0" size="0,0" />
51                         <widget name="NimB" position="0,0" size="0,0" />
52                         <widget name="NimA_Active" position="0,0" size="0,0" />
53                         <widget name="NimB_Active" position="0,0" size="0,0" />
54
55 <!--                    'teletext available'
56                         <widget source="CurrentService" render="Pixmap" pixmap="format.png" position="613,40" size="28,15">
57                                 <convert type="ServiceInfo">TeletextAvailable</convert>
58                                 <convert type="ConditionalShowHide" />
59                         </widget>
60 -->
61
62 <!-- ............................................................................. -->
63                         <eLabel text="SNR:" position="195,0" size="40,22" font="Regular;15" transparent="1" />
64                         <eLabel text="AGC:" position="275,0" size="40,22" font="Regular;15" transparent="1" />
65                         <eLabel text="BER:" position="355,0" size="40,22" font="Regular;15" transparent="1" />
66                         
67                         <widget source="FrontendStatus" render="Label" position="232,0" size="40,22" font="Regular;15" transparent="1" >
68                                 <convert type="FrontendInfo">SNR</convert>
69                         </widget>
70                         <widget source="FrontendStatus" render="Label" position="314,0" size="40,22" font="Regular;15" transparent="1" >
71                                 <convert type="FrontendInfo">AGC</convert>
72                         </widget>
73                         <widget source="FrontendStatus" render="Label" position="392,0" size="53,22" font="Regular;15" transparent="1" >
74                                 <convert type="FrontendInfo">BER</convert>
75                         </widget>
76                         
77                         <widget source="FrontendStatus" render="Progress" position="447,1" size="88,6" pixmap="rtgbar.png" >
78                                 <convert type="FrontendInfo">SNR</convert>
79                         </widget>
80                         <widget source="FrontendStatus" render="Progress" position="447,8" size="88,6" pixmap="rtgbar.png" >
81                                 <convert type="FrontendInfo">AGC</convert>
82                         </widget> 
83                         <widget source="FrontendStatus" render="Progress" position="447,15" size="88,6" >
84                                 <convert type="FrontendInfo">BER</convert>
85                         </widget>
86
87                         <widget name="BlinkingPoint" pixmap="record.png" position="430,31" zPosition="2" size="58,25" alphatest="on" />
88                         
89                                 <!-- show 'is crypted' icon when service is crypted. -->
90                         <widget source="CurrentService" render="Pixmap" pixmap="crypt.png" position="570,40" size="12,15" >
91                                 <convert type="ServiceInfo">IsCrypted</convert>
92                                 <convert type="ConditionalShowHide" />
93                         </widget>
94                         
95                                 <!-- show 'multichannel' icon when service has multichannel 
96                                      audio. -->
97                         <widget source="CurrentService" render="Pixmap" pixmap="dolby.png" position="585,40" size="25,15">
98                                 <convert type="ServiceInfo">IsMultichannel</convert>
99                                 <convert type="ConditionalShowHide" />
100                         </widget>
101                         
102                         <widget source="CurrentService" render="Pixmap" pixmap="format.png" position="613,40" size="28,15">
103                                 <convert type="ServiceInfo">IsWidescreen</convert>
104                                 <convert type="ConditionalShowHide" />
105                         </widget>
106
107                         <widget source="CurrentService" render="Label" position="69,26" size="427,34" font="Regular;22" backgroundColor="#101258" >
108                                 <convert type="ServiceName">Name</convert>
109                                 <!-- <convert type="ServiceName">Provider</convert> -->
110                         </widget>
111                         
112                         <widget source="CurrentTime" render="Label" position="575,10" size="90,30" backgroundColor="dark" font="Regular;19" >
113                                 <convert type="ClockToText">WithSeconds</convert>
114                         </widget>
115                         
116                         <widget source="Event_Now" render="Label" position="210,68" size="60,22" font="Regular;20" backgroundColor="dark">
117                                 <convert type="EventTime">StartTime</convert>
118                                 <convert type="ClockToText">Default</convert>
119                         </widget>
120                         <widget source="Event_Next" render="Label" position="210,98" size="60,22" font="Regular;20" backgroundColor="dark">
121                                 <convert type="EventTime">StartTime</convert>
122                                 <convert type="ClockToText">Default</convert>
123                         </widget>
124                         <widget source="Event_Now" render="Label" position="273,68" size="282,22" font="Regular;20" backgroundColor="dark">
125                                 <convert type="EventName">Name</convert>
126                         </widget>
127                         <widget source="Event_Next" render="Label" position="273,98" size="282,22" font="Regular;20" backgroundColor="dark">
128                                 <convert type="EventName">Name</convert>
129                         </widget>
130                         <widget source="Event_Now" render="Label" position="555,68" size="100,26" font="Regular;22" backgroundColor="dark" halign="right">
131                                 <convert type="EventTime">Remaining</convert>
132                                 <convert type="RemainingToText">InMinutes</convert>
133                         </widget>
134                         <widget source="Event_Next" render="Label" position="555,98" size="100,26" font="Regular;22" backgroundColor="dark" halign="right">
135                                 <convert type="EventTime">Duration</convert>
136                                 <convert type="ClockToText">InMinutes</convert>
137                         </widget>
138                         <widget source="Event_Now" render="Progress" position="304,60" size="121,8" zPosition="1">
139                                 <convert type="EventTime">Progress</convert>
140                         </widget>
141
142                                 <!-- red button: is recording possible? -->
143                         <widget source="RecordingPossible" render="Pixmap" pixmap="button_red.png" position="210,132" size="27,12" >
144                                 <convert type="ConditionalShowHide" />
145                         </widget>
146                         
147                         <widget source="RecordingPossible" render="FixedLabel" text="Record" position="240,130" size="85,22" font="Regular;14" backgroundColor="blue" transparent="1">
148                                 <convert type="ConditionalShowHide" />
149                         </widget>
150                         
151                         <widget source="CurrentService" render="Pixmap" pixmap="button_green.png" position="320,132" size="27,12" >
152                                 <convert type="ServiceInfo">SubservicesAvailable</convert>
153                                 <convert type="ConditionalShowHide" />
154                         </widget>
155                         <widget source="CurrentService" render="FixedLabel" text="Subservices" position="350,130" size="85,22" font="Regular;14" backgroundColor="blue" transparent="1" >
156                                 <convert type="ServiceInfo">SubservicesAvailable</convert> 
157                                 <convert type="ConditionalShowHide" />
158                         </widget>
159                         
160                         <widget source="TimeshiftPossible" render="Pixmap" pixmap="button_yellow.png" position="430,132" size="27,12" >
161                                 <convert type="ConditionalShowHide" />
162                         </widget>
163                         <widget source="TimeshiftPossible" render="FixedLabel" text="Timeshift" position="460,130" size="85,22" font="Regular;14" backgroundColor="blue" transparent="1" >
164                                 <convert type="ConditionalShowHide" />
165                         </widget>
166                         <widget source="ExtensionsAvailable" render="Pixmap" pixmap="button_blue.png" position="540,132" size="27,12" >
167                                 <convert type="ConditionalShowHide" />
168                         </widget>
169                         <widget source="ExtensionsAvailable" render="FixedLabel" text="Extensions" position="570,130" size="95,22" font="Regular;14" backgroundColor="blue" transparent="1" >
170                                 <convert type="ConditionalShowHide" />
171                         </widget>
172                 </screen>
173
174                 <screen name="MoviePlayer" flags="wfNoBorder" position="0,370" size="720,148" title="InfoBar">
175                         <ePixmap position="0,0" zPosition="-1" size="720,148" pixmap="info-bg.png" />
176                         <ePixmap position="210,83" zPosition="0" size="433,42" pixmap="dvr-buttons.png" />
177
178                         <widget source="CurrentService" render="Label" position="69,25" size="427,26" font="Regular;22" backgroundColor="#101258" >
179                                 <convert type="ServiceName">Name</convert>
180                         </widget>
181
182                         <widget source="CurrentService" render="Label" position="575,10" size="90,25" backgroundColor="dark" font="Regular;19" >
183                                 <convert type="ServicePosition">Position</convert>
184                         </widget>
185
186                         <widget source="CurrentService" render="Label" position="475,60" size="75,20" halign="left" backgroundColor="dark" font="Regular;18">
187                                 <convert type="ServicePosition">Remaining</convert>
188                         </widget>
189                         <widget source="CurrentService" render="PositionGauge" position="247,60" size="225,20" zPosition="2" pointer="position_pointer.png:3,5" foregroundColor="#225b7395">
190                                 <convert type="ServicePosition">Gauge</convert>
191                         </widget>
192                 </screen>
193 </skin>