diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-12-07 15:26:49 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-12-07 15:26:49 +0000 |
| commit | 3a13654dd717d6cc27715461cfd24850e40980f6 (patch) | |
| tree | 8653349c2ade373e484cace3e05ed1fd6c5a2f8e /lib/python | |
| parent | a94f85f169ef00d552d3fa4e2706fd8ccbf4c708 (diff) | |
| download | enigma2-3a13654dd717d6cc27715461cfd24850e40980f6.tar.gz enigma2-3a13654dd717d6cc27715461cfd24850e40980f6.zip | |
add step 2
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Screens/Wizard.py | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/lib/python/Screens/Wizard.py b/lib/python/Screens/Wizard.py index 7c223b50..99ed19fb 100644 --- a/lib/python/Screens/Wizard.py +++ b/lib/python/Screens/Wizard.py @@ -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 = [ ] |
