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