fix inverted setting (meaning was inverted too)
[enigma2.git] / lib / python / Components / GUIComponent.py
index fee9341..5483d18 100644 (file)
@@ -1,5 +1,7 @@
 import skin
 
+from enigma import ePoint
+
 class GUIComponent:
        """ GUI component """
        
@@ -15,3 +17,6 @@ class GUIComponent:
        # 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)))