4 <color name="white" value="#ffffff" />
5 <color name="black" value="#000000" />
6 <color name="dark" value="#20294a6b" />
8 <color name="red" value="#ff0000" />
9 <color name="green" value="#00ff00" />
10 <color name="blue" value="#0000ff" />
11 <color name="yellow" value="#c0c000" />
13 <windowstyle type="skinned">
14 <color name="Background" color="#4075a7" />
15 <color name="LabelForeground" color="#ffffff" />
16 <color name="ListboxBackground" color="#4075a7" />
17 <color name="ListboxForeground" color="#ffffff" />
18 <color name="ListboxSelectedBackground" color="#404080" />
19 <color name="ListboxSelectedForeground" color="#ffffff" />
20 <color name="ListboxMarkedBackground" color="#ff0000" />
21 <color name="ListboxMarkedForeground" color="#ffffff" />
22 <borderset name="bsWindow">
23 <pixmap pos="bpTopLeft" filename="/usr/share/enigma2/b_w_tl.png" />
24 <pixmap pos="bpTop" filename="/usr/share/enigma2/b_w_t.png" />
25 <pixmap pos="bpTopRight" filename="/usr/share/enigma2/b_w_tr.png" />
26 <pixmap pos="bpLeft" filename="/usr/share/enigma2/b_w_l.png" />
27 <pixmap pos="bpRight" filename="/usr/share/enigma2/b_w_r.png" />
28 <pixmap pos="bpBottomLeft" filename="/usr/share/enigma2/b_w_bl.png" />
29 <pixmap pos="bpBottom" filename="/usr/share/enigma2/b_w_b.png" />
30 <pixmap pos="bpBottomRight" filename="/usr/share/enigma2/b_w_br.png" />
32 </windowstyle> """ """
33 <screen name="Menu" position="210,150" size="300,235" title="real main menu">
34 <widget name="title" position="10,10" size="280,35" font="Arial;23" />
35 <!--<widget name="menu" position="10,55" size="280,150" font="Arial;23" />-->
36 <widget name="menu" position="10,55" size="280,175"/>
38 <screen name="ScartLoopThrough" position="0,0" size="720,576">
40 <screen name="HarddiskSelection" position="140,165" size="360,100">
41 <widget name="hddlist" position="20,10" size="320,80" />
43 <screen name="HarddiskSetup" position="140,165" size="360,100">
44 <widget name="model" position="20,10" size="300,20" />
45 <widget name="capacity" position="20,30" size="300,20" />
46 <widget name="bus" position="20,50" size="300,20" />
47 <widget name="initialize" position="40,80" size="75,20" font="Arial;20" backgroundColor="red" />
49 <screen name="Setup" position="140,125" size="460,280" title="Setup">
50 <widget name="title" position="10,10" size="280,35" font="Arial;23" />
51 <widget name="config" position="10,50" size="420,175" />
52 <widget name="ok" position="140,240" size="38,20" font="Arial;20" backgroundColor="green" />
53 <widget name="cancel" position="240,240" size="70,20" font="Arial;20" backgroundColor="red" />
55 <screen name="NimSelection" position="140,165" size="360,100">
56 <widget name="nimlist" position="20,10" size="320,75" />
58 <screen name="CiSelection" position="140,165" size="360,100">
60 <screen name="CiMmi" position="140,165" size="360,260">
61 <widget name="title" position="10,0" size="320,25" font="Arial;23" />
62 <widget name="subtitle" position="10,35" size="320,25" font="Arial;23" />
63 <widget name="entries" position="20,70" size="320,150" />
64 <widget name="bottom" position="20,230" size="320,25" font="Arial;23" />
66 <screen name="NimSetup" position="140,165" size="360,180">
67 <widget name="config" position="20,10" size="320,150" />
69 <screen name="Satconfig" position="140,125" size="460,280" title="Satconfig">
70 <widget name="config" position="10,50" size="420,150" />
72 <screen name="ScanSetup" position="100,100" size="500,400" title="Service scan">
73 <widget name="config" position="20,10" size="460,350" />
74 <widget name="introduction" position="20,360" size="280,30" font="Arial;23" />
76 <screen name="NetworkSetup" position="140,125" size="460,280" title="Network Setup">
77 <widget name="config" position="10,50" size="420,175" />
78 <widget name="introduction" position="10,230" size="400,30" font="Arial;23" />
80 <screen name="PluginBrowser" position="190,125" size="360,250" title="Plugins">
81 <widget name="title" position="10,10" size="280,35" font="Arial;23" />
82 <widget name="pluginlist" position="10,50" size="320,200" />
84 <screen name="About" position="140,125" size="360,250" title="About">
85 <widget name="text" position="10,30" size="420,40" font="Arial;18"/>
86 <widget name="tuner" position="10,80" size="420,20" font="Arial;18"/>
87 <widget name="tuner0" position="10,100" size="420,20" font="Arial;18"/>
88 <widget name="tuner1" position="10,120" size="420,20" font="Arial;18"/>
89 <widget name="hdd" position="10,170" size="420,20" font="Arial;18"/>
90 <widget name="hddA" position="10,190" size="420,20" font="Arial;18"/>
92 <screen name="configOSD" position="140,125" size="460,350" title="OSD Settings">
93 <widget name="okbutton" position="20,270" size="205,40" />
94 <widget name="txt_alpha" position="20,20" size="110,20" />
95 <widget name="sld_alpha" position="150,20" size="290,20" />
96 <widget name="txt_brightness" position="20,60" size="120,20" />
97 <widget name="sld_brightness" position="150,20" size="290,20" />
98 <widget name="txt_gamma" position="20,100" size="120,20" />
99 <widget name="sld_gamma" position="150,100" size="290,20" />
101 <screen name="configTest" position="300,100" size="300,300" title="config menu">
102 <widget name="config" position="10,30" size="420,220" />
104 <!-- <screen name="TimerEditList" position="160,100" size="420,430" title="Timer Editor">-->
105 <screen name="TimerEditList" position="160,100" size="420,330" title="Timer Editor">
106 <widget name="timerlist" position="10,30" size="400,300" />
108 <screen name="clockDisplay" position="300,100" size="300,300">
109 <widget name="okbutton" position="10,10" size="280,40" />
110 <widget name="title" position="10,120" size="280,50" />
111 <widget name="theClock" position="10,60" size="280,50" />
113 <screen name="InfoBar" flags="wfNoBorder" position="0,380" size="720,148" title="InfoBar">
114 <ePixmap position="0,0" size="720,148" pixmap="/usr/share/enigma2/info-bg.png" />
116 <widget name="ServiceName" position="69,25" size="427,26" valign="center" font="Arial;22" backgroundColor="#101258" />
117 <widget name="CurrentTime" position="575,10" size="90,30" backgroundColor="dark" font="Arial;19" />
118 <widget name="Volume" position="575,45" size="100,5" backgroundColor="dark" />
119 <widget name="Event_Now" position="273,68" size="282,22" font="Arial;20" backgroundColor="dark" />
120 <widget name="Event_Next" position="273,98" size="282,22" font="Arial;20" backgroundColor="dark" />
121 <widget name="Event_Now_Duration" position="555,68" size="70,26" font="Arial;22" backgroundColor="dark" />
122 <widget name="Event_Next_Duration" position="555,98" size="70,26" font="Arial;22" backgroundColor="dark" />
123 <!-- <eLabel position="70,0" size="300,30" text=".oO skin Oo." font="Arial;20" /> -->
125 <screen name="ChannelSelection" position="90,100" size="560,420" title="Channel Selection">
126 <widget name="list" position="0,50" size="560,320" />
127 <!-- <widget name="okbutton" position="340,50" size="140,30" />-->
128 <widget name="key_red" position="0,0" size="140,40" backgroundColor="red" font="Arial;21" />
129 <widget name="key_green" position="140,0" size="140,40" backgroundColor="green" font="Arial;21" />
130 <widget name="key_yellow" position="280,0" size="140,40" backgroundColor="yellow" font="Arial;21" />
131 <widget name="key_blue" position="420,0" size="140,40" backgroundColor="blue" font="Arial;21" />
133 <screen name="MovieSelection" position="150,100" size="400,420" title="Select-a-movie">
134 <widget name="list" position="0,50" size="400,300" />
135 <widget name="freeDiskSpace" position="0,360" size="400,40" />
137 <screen name="ServiceScan" position="200,100" size="300,200" title="Service Scan">
138 <widget name="scan_progress" position="10,10" size="300,20" />
139 <widget name="scan_state" position="10,40" size="280,60" font="Arial;20" />
141 <screen name="TimerEdit" position="70,100" size="590,335" title="Timer Edit">
142 <widget name="description" position="10,10" size="580,40" font="Arial;25" />
143 <widget name="lbegin" position="405,102" size="103,30" font="Arial;25" foregroundColor="red" />
144 <widget name="lend" position="405,158" size="103,30" font="Arial;25" foregroundColor="green" />
145 <widget name="begin" position="508,105" size="72,35" font="Arial;25" />
146 <widget name="end" position="508,150" size="72,35" font="Arial;25" />
147 <widget name="apply" position="10,240" size="250,35" />
149 <screen name="MessageBox" position="0,300" size="720,10" title="Message">
150 <widget name="text" position="0,0" size="650,0" font="Arial;22" />
151 <applet type="onLayoutFinish">
152 # this should be factored out into some helper code, but currently demonstrated applets.
153 from enigma import eSize, ePoint
155 orgwidth = self.instance.size().width()
156 orgpos = self.instance.position()
157 textsize = self["text"].getSize()
159 # y size still must be fixed in font stuff...
160 textsize = (textsize[0], textsize[1] + 20)
161 wsize = (textsize[0] + 20, textsize[1] + 20)
164 self.instance.resize(eSize(*wsize))
167 self["text"].instance.resize(eSize(*textsize))
171 self.instance.move(ePoint(orgpos.x() + (orgwidth - newwidth)/2, orgpos.y()))