use steps in startwizard
[vuplus_dvbapp] / lib / python / Components / Pixmap.py
1 from ConditionalWidget import *
2
3 from enigma import *
4
5 class Pixmap(Widget):
6         def __init__(self):
7                 Widget.__init__(self)
8
9         def getePixmap(self, parent):
10                 #pixmap = ePixmap(parent)
11                 #pixmap.setPixmapFromFile(self.filename)
12                 return ePixmap(parent)
13         
14         def createWidget(self, parent):
15                 return self.getePixmap(parent)
16
17         def removeWidget(self, w):
18                 pass
19
20         def move(self, x, y):
21                 self.instance.move(ePoint(int(x), int(y)))
22
23 class PixmapConditional(ConditionalWidget, Pixmap):
24         def __init__(self, withTimer = True):
25                 ConditionalWidget.__init__(self)
26                 Pixmap.__init__(self)
27