fix inverted setting (meaning was inverted too)
[enigma2.git] / lib / python / Components / GUIComponent.py
index fee9341c558876846c95106957239c1454abc93d..5483d181773a54f08c0033630edd58505376d6a8 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)))