add step 2
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Wed, 7 Dec 2005 15:26:49 +0000 (15:26 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Wed, 7 Dec 2005 15:26:49 +0000 (15:26 +0000)
data/arrowup.png [new file with mode: 0644]
data/rc.png
lib/python/Screens/Wizard.py

diff --git a/data/arrowup.png b/data/arrowup.png
new file mode 100644 (file)
index 0000000..c0883b4
Binary files /dev/null and b/data/arrowup.png differ
index 5c64e8a406268a9effb05b2845cb35c472a7d2c2..8ba3c4e38674e17f418e1a7e8de9f9f1cd3f3b25 100755 (executable)
Binary files a/data/rc.png and b/data/rc.png differ
index 7c223b50713bb9c768785149fcf2852be869a37a..99ed19fbe51cf31762709f9a3a75b0bf01aef0c4 100644 (file)
@@ -18,10 +18,11 @@ class WelcomeWizard(Screen, HelpableScreen):
                        <widget name="stepslider" position="50,500" zPosition="1" size="440,20" backgroundColor="dark" />
                        <widget name="rc" pixmap="/usr/share/enigma2/rc.png" position="500,50" size="154,475" transparent="1" alphatest="on"/>
                        <widget name="arrowdown" pixmap="/usr/share/enigma2/arrowdown.png" position="0,0" zPosition="1" size="37,70" transparent="1" alphatest="on"/>
+                       <widget name="arrowup" pixmap="/usr/share/enigma2/arrowup.png" position="-100,-100" zPosition="1" size="37,70" transparent="1" alphatest="on"/>
                </screen>"""
                
-       text = [_("Hello User.\n\nThis start-wizard will guide you through the basic setup of your Dreambox."), 
-                       _("Bla"),
+       text = [_("Hello User.\n\nThis start-wizard will guide you through the basic setup of your Dreambox.\n\nPress the OK button on your remote control to move to the next step."), 
+                       _("You can use the Up and Down buttons on your remote control to select your choice.\n\nWhat do you want to do?"),
                        _("Blub")]
 
        def __init__(self, session):
@@ -37,6 +38,8 @@ class WelcomeWizard(Screen, HelpableScreen):
                self["rc"] = Pixmap()
                self["arrowdown"] = MovingPixmap()
                self["arrowdown"].moveTo(557, 232, 100)
+               self["arrowup"] = MovingPixmap()
+
                
                self.onShown.append(self["arrowdown"].startMoving)
 
@@ -64,6 +67,13 @@ class WelcomeWizard(Screen, HelpableScreen):
                else:
                        self.currStep += 1
                        self.updateValues()
+                       
+                       if (self.currStep == 2):
+                               self["arrowdown"].moveTo(557, 200, 100)
+                               self["arrowup"].moveTo(557, 355, 100)
+                               self["arrowdown"].startMoving()
+                               self["arrowup"].startMoving()
+                               
 
 def listActiveWizards():
        wizards = [ ]