git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some changes to the configSelection stuff
[enigma2.git]
/
lib
/
python
/
Components
/
GUIComponent.py
diff --git
a/lib/python/Components/GUIComponent.py
b/lib/python/Components/GUIComponent.py
index bcd99d245e86fc32fb9a08e5b09b5d7c993d14ad..5483d181773a54f08c0033630edd58505376d6a8 100644
(file)
--- a/
lib/python/Components/GUIComponent.py
+++ b/
lib/python/Components/GUIComponent.py
@@
-1,12
+1,22
@@
+import skin
+
+from enigma import ePoint
+
class GUIComponent:
""" GUI component """
class GUIComponent:
""" GUI component """
-
+
def __init__(self):
pass
def __init__(self):
pass
-
+
def execBegin(self):
pass
def execEnd(self):
pass
def execBegin(self):
pass
def execEnd(self):
pass
+
+ # this works only with normal widgets - if you don't have self.instance, override this.
+ def applySkin(self, desktop):
+ skin.applyAllAttributes(self.instance, desktop, self.skinAttributes)
+ def move(self, x, y):
+ self.instance.move(ePoint(int(x), int(y)))