From a94f85f169ef00d552d3fa4e2706fd8ccbf4c708 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Wed, 7 Dec 2005 15:11:02 +0000 Subject: introduce the movingPixmap and use it to position the arrow in the start-wizard (but with some redrawing-problems :)) --- lib/python/Screens/Wizard.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'lib/python/Screens/Wizard.py') diff --git a/lib/python/Screens/Wizard.py b/lib/python/Screens/Wizard.py index b199634d..7c223b50 100644 --- a/lib/python/Screens/Wizard.py +++ b/lib/python/Screens/Wizard.py @@ -5,19 +5,19 @@ from Components.Label import Label from Components.Slider import Slider from Components.ActionMap import HelpableActionMap from Components.config import config, configElementBoolean -from Components.Pixmap import Pixmap +from Components.Pixmap import * config.misc.firstrun = configElementBoolean("config.misc.firstrun", 1); class WelcomeWizard(Screen, HelpableScreen): skin = """ - + - - + + """ text = [_("Hello User.\n\nThis start-wizard will guide you through the basic setup of your Dreambox."), @@ -35,7 +35,10 @@ class WelcomeWizard(Screen, HelpableScreen): self["text"] = Label() self["rc"] = Pixmap() - self["arrowdown"] = Pixmap() + self["arrowdown"] = MovingPixmap() + self["arrowdown"].moveTo(557, 232, 100) + + self.onShown.append(self["arrowdown"].startMoving) self["step"] = Label() -- cgit v1.2.3