aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-12-07 15:26:49 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-12-07 15:26:49 +0000
commit3a13654dd717d6cc27715461cfd24850e40980f6 (patch)
tree8653349c2ade373e484cace3e05ed1fd6c5a2f8e /lib/python
parenta94f85f169ef00d552d3fa4e2706fd8ccbf4c708 (diff)
downloadenigma2-3a13654dd717d6cc27715461cfd24850e40980f6.tar.gz
enigma2-3a13654dd717d6cc27715461cfd24850e40980f6.zip
add step 2
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/Wizard.py14
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 = [ ]