<widget name="Dishpixmap" pixmap="dish.png" position="0,0" size="100,107" />
</screen>
<screen name="ChannelSelection" position="90,98" size="560,417" title="Channel Selection">
- <widget name="list" position="00,45" size="560,364" scrollbarMode="showOnDemand" />
+ <widget name="list" position="0,45" size="560,364" scrollbarMode="showOnDemand" />
<widget name="key_red" position="0,0" size="140,40" backgroundColor="red" font="Regular;21" />
<widget name="key_green" position="140,0" size="140,40" backgroundColor="green" font="Regular;21" />
<widget name="key_yellow" position="280,0" size="140,40" backgroundColor="yellow" font="Regular;21" />
<widget name="duration" position="140,345" size="100,30" font="Regular;22" />
<widget name="channel" position="240,345" size="270,30" font="Regular;22" />
</screen>
- <screen name="PictureInPicture" position="500,100" size="180,140" zPosition="-1" flags="wfNoBorder" >
- <widget name="video" position="0,0" size="160,120" />
+ <screen name="PictureInPicture" position="400,60" size="240,192" zPosition="-1" flags="wfNoBorder" >
+ <widget name="video" position="0,0" size="240,192" />
+ </screen>
+ <screen name="SubtitleDisplay" position="50,300" size="620,200" zPosition="-1" flags="wfNoBorder" >
+ </screen>
+ <screen name="PiPSetup" backgroundColor="transparent" position="70,400" size="600,150" title="PiPSetup" flags="wfNoBorder">
+ <widget name="text" position="0,0" size="600,150" font="Regular;23" />
</screen>
<screen name="MovieSelection" position="90,98" size="560,415" title="Select a movie">
<widget name="waitingtext" position="0,0" size="500,335" zPosition="2" font="Regular;22" />
# y size still must be fixed in font stuff...
textsize = (textsize[0] + 50, textsize[1] + 50)
count = len(self.list)
-if count > 6:
- count = 6
-offset = 30 * count
+if count > 10:
+ count = 10
+offset = 25 * count
wsizex = textsize[0] + 60
wsizey = textsize[1] + offset
-if (400 > wsizex):
- wsizex = 400
+
+if (450 > wsizex):
+ wsizex = 450
wsize = (wsizex, wsizey)
self["text"].instance.resize(eSize(*textsize))
# move list
-listsize = (wsizex, 30 * len(self.list))
+listsize = (wsizex, 25 * count)
self["list"].instance.move(ePoint(0, textsize[1]))
self["list"].instance.resize(eSize(*listsize))