From 3a13654dd717d6cc27715461cfd24850e40980f6 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Wed, 7 Dec 2005 15:26:49 +0000 Subject: add step 2 --- lib/python/Screens/Wizard.py | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'lib/python') 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): + """ - 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 = [ ] -- cgit v1.2.3