add a blinking point to the infobar
[enigma2.git] / data / skin.xml
index d19e0fa3381e85d8478a2ee409ad086f81f709d7..b2ba569a2b302b0ceeb3c3be771e78743989508c 100644 (file)
                        <widget name="theClock" position="10,60" size="280,50" />
                </screen>
                <screen name="InfoBar" flags="wfNoBorder" position="0,380" size="720,148" title="InfoBar">
-                       <ePixmap position="0,0" size="720,148" pixmap="/usr/share/enigma2/info-bg.png" />
+                       <ePixmap position="0,0" zPosition="1" size="720,148" pixmap="/usr/share/enigma2/info-bg.png" />
                                                
+                       <widget name="BlinkingPoint" position="430,35" size="20,20" />
                        <widget name="ServiceName" position="69,25" size="427,26" valign="center" font="Arial;22" backgroundColor="#101258" />
                        <widget name="CurrentTime" position="575,10" size="90,30" backgroundColor="dark" font="Arial;19" />
                        <widget name="Event_Now_StartTime" position="210,68" size="60,22" font="Arial;20" backgroundColor="dark" />
                        <eLabel position="500,40" size="220,60" text="help..." font="Arial;50" />
                </screen>
                <screen name="MessageBox" position="0,300" size="720,10" title="Message">
-                       <widget name="text" position="0,0" size="650,0" font="Arial;22" />
+                       <widget name="text" position="0,35" size="650,0" font="Arial;22" />
+                       <widget name="key_red" position="0,0" size="140,30" backgroundColor="red" font="Arial;21" />
+                       <widget name="key_green" position="140,0" size="140,30" backgroundColor="green" font="Arial;21" />
                        <applet type="onLayoutFinish">
 # this should be factored out into some helper code, but currently demonstrates applets.
 from enigma import eSize, ePoint
@@ -236,7 +239,12 @@ textsize = self["text"].getSize()
 
 # y size still must be fixed in font stuff...
 textsize = (textsize[0], textsize[1] + 50)
-wsize = (textsize[0] + 50, textsize[1] + 50)
+wsizex = textsize[0] + 50
+wsizey = textsize[1] + 50
+if (280 > wsizex):
+       wsizex = 280
+wsize = (wsizex, wsizey)
+
 
 # resize 
 self.instance.resize(eSize(*wsize))