aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-04-18 19:06:21 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-04-18 19:06:21 +0000
commit4347756c56a155ffe3c0ad61c74b385fdad923b4 (patch)
tree2792ffee7253e8c07042fe57bb361ff372f0884f /lib/python
parent46f2eaf4f2be49e48ca2abc26c5e925a900726c1 (diff)
downloadenigma2-4347756c56a155ffe3c0ad61c74b385fdad923b4.tar.gz
enigma2-4347756c56a155ffe3c0ad61c74b385fdad923b4.zip
no need to define skin in skin_default.xml and .py files
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/ImageWizard.py10
-rw-r--r--lib/python/Screens/StartWizard.py19
-rw-r--r--lib/python/Screens/TutorialWizard.py12
3 files changed, 1 insertions, 40 deletions
diff --git a/lib/python/Screens/ImageWizard.py b/lib/python/Screens/ImageWizard.py
index ad0640cf..faf6120b 100644
--- a/lib/python/Screens/ImageWizard.py
+++ b/lib/python/Screens/ImageWizard.py
@@ -19,18 +19,10 @@ else:
backupAvailable = 1
class ImageWizard(Wizard):
- skin = """
- <screen position="0,0" size="720,576" title="Welcome..." flags="wfNoBorder">
- <widget name="text" position="50,100" size="440,250" font="Regular;22" />
- <widget name="list" position="50,350" zPosition="1" size="440,200" />
- <widget name="config" position="50,350" zPosition="1" size="440,200" transparent="1" scrollbarMode="showOnDemand" />
- </screen>"""
-
def __init__(self, session):
self.xmlfile = "imagewizard.xml"
-
Wizard.__init__(self, session, showSteps=False, showStepSlider=False, showList=True, showConfig=True)
-
+
def markDone(self):
pass
diff --git a/lib/python/Screens/StartWizard.py b/lib/python/Screens/StartWizard.py
index aff6e742..7f64624e 100644
--- a/lib/python/Screens/StartWizard.py
+++ b/lib/python/Screens/StartWizard.py
@@ -11,27 +11,8 @@ config.misc.firstrun = ConfigBoolean(default = True)
config.misc.languageselected = ConfigBoolean(default = True)
class StartWizard(WizardLanguage):
- skin = """
- <screen position="0,0" size="720,576" title="Welcome..." flags="wfNoBorder" >
- <widget name="text" position="153,50" size="340,270" font="Regular;23" />
- <widget source="list" render="Listbox" position="50,300" size="440,200" scrollbarMode="showOnDemand" >
- <convert type="StringList" />
- </widget>
- <widget name="config" position="50,300" zPosition="1" size="440,200" transparent="1" scrollbarMode="showOnDemand" />
- <ePixmap pixmap="skin_default/buttons/button_red.png" position="40,225" zPosition="0" size="15,16" transparent="1" alphatest="on" />
- <widget name="languagetext" position="55,225" size="95,30" font="Regular;18" />
- <widget name="stepslider" position="50,500" zPosition="1" borderWidth="2" size="440,20" backgroundColor="dark" />
- <widget name="wizard" pixmap="skin_default/wizard.png" position="40,50" zPosition="10" size="110,174" transparent="1" alphatest="on"/>
- <widget name="rc" pixmap="skin_default/rc.png" position="500,600" zPosition="10" size="154,475" transparent="1" alphatest="on"/>
- <widget name="arrowdown" pixmap="skin_default/arrowdown.png" position="0,0" zPosition="11" size="37,70" transparent="1" alphatest="on"/>
- <widget name="arrowup" pixmap="skin_default/arrowup.png" position="-100,-100" zPosition="11" size="37,70" transparent="1" alphatest="on"/>
- <widget name="arrowup2" pixmap="skin_default/arrowup.png" position="-100,-100" zPosition="11" size="37,70" transparent="1" alphatest="on"/>
- </screen>"""
-
def __init__(self, session):
- self.skin = StartWizard.skin
self.xmlfile = "startwizard.xml"
-
WizardLanguage.__init__(self, session, showSteps = False)
self["wizard"] = Pixmap()
self["rc"] = MovingPixmap()
diff --git a/lib/python/Screens/TutorialWizard.py b/lib/python/Screens/TutorialWizard.py
index 8c0b79d6..1c0c4108 100644
--- a/lib/python/Screens/TutorialWizard.py
+++ b/lib/python/Screens/TutorialWizard.py
@@ -6,20 +6,8 @@ from Components.Pixmap import MovingPixmap
config.misc.firstruntutorial = ConfigBoolean(default = True)
class TutorialWizard(Wizard):
- skin = """
- <screen position="0,0" size="720,576" title="Welcome..." flags="wfNoBorder">
- <widget name="text" position="50,100" size="440,200" font="Regular;23" />
- <widget name="list" position="50,300" zPosition="1" size="440,200" />
- <widget name="rc" pixmap="skin_default/rc.png" position="500,600" zPosition="10" size="154,475" transparent="1" alphatest="on"/>
- <widget name="arrowdown" pixmap="skin_default/arrowdown.png" position="0,0" zPosition="11" size="37,70" transparent="1" alphatest="on"/>
- <widget name="arrowup" pixmap="skin_default/arrowup.png" position="-100,-100" zPosition="11" size="37,70" transparent="1" alphatest="on"/>
- <widget name="arrowup2" pixmap="skin_default/arrowup.png" position="-100,-100" zPosition="11" size="37,70" transparent="1" alphatest="on"/>
- </screen>"""
-
def __init__(self, session):
- self.skin = TutorialWizard.skin
self.xmlfile = "tutorialwizard.xml"
-
Wizard.__init__(self, session, showSteps=False, showStepSlider=False, showList=True, showConfig=False)
self["rc"] = MovingPixmap()
self["arrowdown"] = MovingPixmap()