helplist: keys are not anymore secret, at least not for us professionals. skin fixed...
[openblackhole/openblackhole-enigma2.git] / data / skin.xml
1 <skin>
2         
3                 <colors>
4                         <color name="white"     value="#ffffff" />
5                         <color name="black"     value="#000000" />
6                         <color name="dark"      value="#20294a6b" />
7                         
8                         <color name="red"               value="#ff0000" />
9                         <color name="green"     value="#00ff00" />
10                         <color name="blue"              value="#0000ff" />
11                         <color name="yellow"    value="#c0c000" />
12                 </colors>
13                 <windowstyle type="skinned">
14                         <color name="Background" color="#33294a6b" />
15                         <color name="LabelForeground" color="#ffffff" />
16                         <color name="ListboxBackground" color="#33294a6b" />
17                         <color name="ListboxForeground" color="#ffffff" />
18                         <color name="ListboxSelectedBackground" color="#225b7395" />
19                         <color name="ListboxSelectedForeground" color="#ffffff" />
20                         <color name="ListboxMarkedBackground" color="#ff0000" />
21                         <color name="ListboxMarkedForeground" color="#ffffff" />
22                         
23                         <color name="WindowTitleForeground" color="#ffffff" />
24                         <color name="WindowTitleBackground" color="#33294a6b" />
25                         <borderset name="bsWindow">
26                                 <pixmap pos="bpTopLeft"     filename="/usr/share/enigma2/b_w_tl.png" />
27                                 <pixmap pos="bpTop"         filename="/usr/share/enigma2/b_w_t.png"  />
28                                 <pixmap pos="bpTopRight"    filename="/usr/share/enigma2/b_w_tr.png" />
29                                 <pixmap pos="bpLeft"        filename="/usr/share/enigma2/b_w_l.png"  />
30                                 <pixmap pos="bpRight"       filename="/usr/share/enigma2/b_w_r.png"  />
31                                 <pixmap pos="bpBottomLeft"  filename="/usr/share/enigma2/b_w_bl.png" />
32                                 <pixmap pos="bpBottom"      filename="/usr/share/enigma2/b_w_b.png"  />
33                                 <pixmap pos="bpBottomRight" filename="/usr/share/enigma2/b_w_br.png" />
34                         </borderset>
35                 </windowstyle> """ """
36                 <screen name="Standby" flags="wfNoBorder" position="0,0" size="720,576" title="Standby">
37                 </screen>
38                 <screen name="Menu" position="210,150" size="300,235" title="Main menu">
39                         <widget name="title" position="10,10" size="280,35" font="Arial;23" />
40                         <!--<widget name="menu" position="10,55" size="280,150" font="Arial;23" />-->
41                         <widget name="menu" position="10,55" size="280,175"/>
42                 </screen>
43                 <screen name="ScartLoopThrough" position="0,0" size="720,576">
44                 </screen>
45                 <screen name="ServiceInfo" position="180,120" size="360,330" title="Serviceinfo">
46                         <widget name="infolist" position="20,10" size="320,325" />
47                 </screen>
48                 <screen name="AudioSelection" position="210,150" size="300,170" title="Audio">
49                         <widget name="tracks" position="20,10" size="260,150" />
50                 </screen>
51                 <screen name="HarddiskWait" position="140,165" size="360,60">
52                         <widget name="wait" position="20,10" size="320,25" font="Arial;23"/>
53                 </screen>
54                 <screen name="HarddiskSelection" position="140,165" size="360,100" title="Select HDD">
55                         <widget name="hddlist" position="20,10" size="320,75" />
56                 </screen>
57                 <screen name="HarddiskSetup" position="140,165" size="420,160" title="Harddisk">
58                         <widget name="model" position="20,10" size="380,25" font="Arial;23"  />
59                         <widget name="capacity" position="20,40" size="380,25" font="Arial;23"  />
60                         <widget name="bus" position="20,70" size="380,25" font="Arial;23"  />
61                         <widget name="initialize" position="40,110" size="100,28" font="Arial;25" backgroundColor="red" />
62                 </screen>
63                 <screen name="Setup" position="100,125" size="540,280" title="Setup">
64                         <widget name="title" position="10,10" size="280,35" font="Arial;23" />
65                         <widget name="config" position="10,50" size="520,175" />
66                         <widget name="ok" position="140,240" size="38,20" font="Arial;20" backgroundColor="green" />
67                         <widget name="cancel" position="240,240" size="70,20" font="Arial;20" backgroundColor="red" />
68                 </screen>
69                 <screen name="NimSelection" position="140,165" size="360,100" title="select Slot">
70                         <widget name="nimlist" position="20,10" size="320,75" />
71                 </screen>
72                 <screen name="CiWait" position="140,165" size="360,50" title="Common Interface">
73                         <widget name="message" position="20,10" size="320,25" font="Arial;23" />
74                 </screen>
75                 <screen name="CiSelection" position="140,165" size="360,100" title="Common Interface">
76                         <widget name="entries" position="20,10" size="320,75" />
77                 </screen>
78                 <screen name="CiMmi" position="140,165" size="360,260">
79                         <widget name="title" position="10,0" size="320,25" font="Arial;23" />
80                         <widget name="subtitle" position="10,35" size="320,25" font="Arial;23" />
81                         <widget name="entries" position="20,70" size="320,150" />
82                         <widget name="bottom" position="20,230" size="320,25" font="Arial;23" />
83                 </screen>
84                 <screen name="NimSetup" position="140,165" size="360,180" title="Satconfig">
85                         <widget name="config" position="20,10" size="320,150" />
86                 </screen>
87                 <screen name="Satconfig" position="140,125" size="460,280" title="Satconfig">
88                         <widget name="config" position="10,50" size="420,150" />
89                 </screen>
90                 <screen name="ScanSetup" position="100,100" size="500,400" title="Service scan">
91                         <widget name="config" position="20,10" size="460,350" />
92                         <widget name="introduction" position="20,360" size="280,30" font="Arial;23" />
93                 </screen>
94                 <screen name="ScanSimple" position="150,100" size="400,300" title="Service scan">
95                         <widget name="header" position="20,10" size="280,25" font="Arial;23"/>
96                         <widget name="config" position="20,45" size="360,200" />
97                         <widget name="footer" position="20,250" size="360,25" font="Arial;23"/>
98                         <!--<widget name="introduction" position="20,360" size="280,30" font="Arial;23" />-->
99                 </screen>
100                 <screen name="TimerEntry" position="100,100" size="500,400" title="Timer entry">
101                         <widget name="config" position="5,10" size="480,350" />
102                 </screen>
103                 <screen name="NetworkSetup" position="140,125" size="460,280" title="Network Setup">
104                         <widget name="config" position="10,50" size="420,175" />
105                         <widget name="introduction" position="10,230" size="400,30" font="Arial;23" />
106                 </screen>
107                 <screen name="PluginBrowser" position="190,125" size="360,250" title="Plugins">
108                         <widget name="title" position="10,10" size="280,35" font="Arial;23" />
109                         <widget name="pluginlist" position="10,50" size="320,200" />
110                 </screen>
111                 <screen name="About" position="140,125" size="360,250" title="About">
112                         <widget name="text" position="10,30" size="420,40" font="Arial;18"/>
113                         <widget name="tuner" position="10,80" size="420,20" font="Arial;18"/>
114                         <widget name="tuner0" position="10,100" size="420,20" font="Arial;18"/>
115                         <widget name="tuner1" position="10,120" size="420,20" font="Arial;18"/>
116                         <widget name="hdd" position="10,170" size="420,20" font="Arial;18"/>
117                         <widget name="hddA" position="10,190" size="420,20" font="Arial;18"/>
118                 </screen>
119                 <screen name="configOSD" position="140,125" size="460,350" title="OSD Settings">
120                         <widget name="okbutton" position="20,270" size="205,40" />
121                         <widget name="txt_alpha" position="20,20" size="110,20" />
122                         <widget name="sld_alpha" position="150,20" size="290,20" />
123                         <widget name="txt_brightness" position="20,60" size="120,20" />
124                         <widget name="sld_brightness" position="150,20" size="290,20" />
125                         <widget name="txt_gamma" position="20,100" size="120,20" />
126                         <widget name="sld_gamma" position="150,100" size="290,20" />
127                 </screen>
128                 <screen name="configTest" position="300,100" size="300,300" title="config menu">
129                         <widget name="config" position="10,30" size="420,220" />
130                 </screen>
131                 <screen name="TimerEditList" position="70,100" size="560,400" title="Timer Editor">
132                         <widget name="timerlist" position="10,50" size="520,300" />
133                         <widget name="key_red" position="0,0" size="140,40" backgroundColor="red" font="Arial;21" />
134                         <widget name="key_green" position="140,0" size="140,40" backgroundColor="green" font="Arial;21" />
135                         <widget name="key_yellow" position="280,0" size="140,40" backgroundColor="yellow" font="Arial;21" />
136                         <widget name="key_blue" position="420,0" size="140,40" backgroundColor="blue" font="Arial;21" />
137                 </screen>
138                 <screen name="clockDisplay" position="300,100" size="300,300">
139                         <widget name="okbutton" position="10,10" size="280,40" />
140                         <widget name="title" position="10,120" size="280,50" />
141                         <widget name="theClock" position="10,60" size="280,50" />
142                 </screen>
143                 <screen name="InfoBar" flags="wfNoBorder" position="0,380" size="720,148" title="InfoBar">
144                         <ePixmap position="0,0" size="720,148" pixmap="/usr/share/enigma2/info-bg.png" />
145                         
146                         <widget name="ServiceName" position="69,25" size="427,26" valign="center" font="Arial;22" backgroundColor="#101258" />
147                         <widget name="CurrentTime" position="575,10" size="90,30" backgroundColor="dark" font="Arial;19" />
148                         <widget name="Event_Now_StartTime" position="210,68" size="60,22" font="Arial;20" backgroundColor="dark" />
149                         <widget name="Event_Next_StartTime" position="210,98" size="60,22" font="Arial;20" backgroundColor="dark" />
150                         <widget name="Event_Now" position="273,68" size="282,22" font="Arial;20" backgroundColor="dark" />
151                         <widget name="Event_Next" position="273,98" size="282,22" font="Arial;20" backgroundColor="dark" />
152                         <widget name="Event_Now_Duration" position="555,68" size="70,26" font="Arial;22" backgroundColor="dark" />
153                         <widget name="Event_Next_Duration" position="555,98" size="70,26" font="Arial;22" backgroundColor="dark" />
154                 </screen>
155
156                 <screen name="MoviePlayer" flags="wfNoBorder" position="0,380" size="720,148" title="InfoBar">
157 <!--                    <ePixmap position="0,0" size="720,148" pixmap="/usr/share/enigma2/info-bg.png" />
158 -->
159                         <widget name="ServiceName" position="69,25" size="427,26" valign="center" font="Arial;22" backgroundColor="#101258" />
160                         <widget name="CurrentTime" position="575,10" size="90,30" backgroundColor="dark" font="Arial;19" />
161                         <eLabel position="70,0" size="300,30" text=".oO Movie Player Oo." font="Arial;20" />
162                 </screen>
163
164
165                 <screen name="NumberZap" flags="wfNoBorder" position="300,120" size="120,60">
166                         <widget name="number" position="30,15" size="80,25" font="Arial;23" />
167                 </screen>
168                 <screen name="Volume" flags="wfNoBorder" position="400,125" size="180,60" title="Volume">
169                         <ePixmap position="0,0" size="180,60" pixmap="/usr/share/enigma2/volumeslider-fs8.png" />
170                         
171                         <widget name="Volume" position="8,38" size="164,11" backgroundColor="dark" />
172                 </screen>
173                 <screen name="Mute" flags="wfNoBorder" position="100,100" size="59,80" title="Mute">
174                         <ePixmap position="0,0" size="59,80" pixmap="/usr/share/enigma2/mute-fs8.png" />
175                 </screen>
176                 <screen name="ChannelSelection" position="90,98" size="560,417" title="Channel Selection">
177                         <widget name="list" position="10,45" size="540,364" />
178                         <widget name="key_red" position="0,0" size="140,40" backgroundColor="red" font="Arial;21" />
179                         <widget name="key_green" position="140,0" size="140,40" backgroundColor="green" font="Arial;21" />
180                         <widget name="key_yellow" position="280,0" size="140,40" backgroundColor="yellow" font="Arial;21" />
181                         <widget name="key_blue" position="420,0" size="140,40" backgroundColor="blue" font="Arial;21" />
182                 </screen>
183                 <screen name="EPGSelection" position="90,100" size="560,415" title="EPG Selection">
184                         <widget name="list" position="10,5" size="550,400" />
185                 </screen>
186                 <screen name="EventView" position="100,100" size="520,380" title="Eventview">
187                         <widget name="epg_description" position="10,5" size="500,335" font="Arial;22" />
188                         <widget name="datetime" position="10,345" size="130,30" font="Arial;22" />
189                         <widget name="duration" position="140,345" size="100,30" font="Arial;22" />
190                         <widget name="channel" position="240,345" size="270,30" font="Arial;22" />
191                 </screen>
192                 <screen name="MovieSelection" position="50,50" size="620,476" title="Select-a-movie">
193                         <widget name="list" position="0,30" size="600,375" />
194                         <widget name="freeDiskSpace" position="0,440" size="400,30" />
195                 </screen>
196                 <screen name="ServiceScan" position="200,100" size="300,200" title="Service Scan">
197                         <widget name="scan_progress" position="10,10" size="300,20" />
198                         <widget name="scan_state" position="10,40" size="280,60" font="Arial;20" />
199                 </screen>
200                 <screen name="TimerEdit" position="70,100" size="590,335" title="Timer Edit">
201                         <widget name="description" position="10,10" size="580,40" font="Arial;25" />
202                         <widget name="lbegin" position="405,102" size="103,30" font="Arial;25" foregroundColor="red" />
203                         <widget name="lend" position="405,158" size="103,30" font="Arial;25" foregroundColor="green" />
204                         <widget name="begin" position="508,105" size="72,35" font="Arial;25" />
205                         <widget name="end" position="508,150" size="72,35" font="Arial;25" />
206                         <widget name="apply" position="10,240" size="250,35" />
207                 </screen>
208                 <screen name="HelpMenu" flags="wfNoBorder" position="0,0" size="720,576" title="Menu">
209                         <widget name="list" position="100,100" size="550,375" />
210                         <eLabel position="500,40" size="220,60" text="help..." font="Arial;50" />
211                 </screen>
212                 <screen name="MessageBox" position="0,300" size="720,10" title="Message">
213                         <widget name="text" position="0,0" size="650,0" font="Arial;22" />
214                         <applet type="onLayoutFinish">
215 # this should be factored out into some helper code, but currently demonstrates applets.
216 from enigma import eSize, ePoint
217
218 orgwidth = self.instance.size().width()
219 orgpos = self.instance.position()
220 textsize = self["text"].getSize()
221
222 # y size still must be fixed in font stuff...
223 textsize = (textsize[0], textsize[1] + 50)
224 wsize = (textsize[0] + 50, textsize[1] + 50)
225
226 # resize 
227 self.instance.resize(eSize(*wsize))
228
229 # resize label
230 self["text"].instance.resize(eSize(*textsize))
231
232 # center window
233 newwidth = wsize[0]
234 self.instance.move(ePoint(orgpos.x() + (orgwidth - newwidth)/2, orgpos.y()))
235                         </applet>
236                 </screen>
237         </skin>