invert Z sense for screens
authorFelix Domke <tmbinc@elitedvb.net>
Sun, 15 Jan 2006 23:37:57 +0000 (23:37 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Sun, 15 Jan 2006 23:37:57 +0000 (23:37 +0000)
mytest.py

index 42f1e00..13eb4a7 100644 (file)
--- a/mytest.py
+++ b/mytest.py
@@ -153,7 +153,7 @@ class Session:
                        if key == "zPosition":
                                z = int(value)
 
                        if key == "zPosition":
                                z = int(value)
 
-               dlg.instance = eWindow(self.desktop, z)
+               dlg.instance = eWindow(self.desktop, -z)
                applyAllAttributes(dlg.instance, self.desktop, dlg.skinAttributes)
                gui = GUIOutputDevice()
                gui.parent = dlg.instance
                applyAllAttributes(dlg.instance, self.desktop, dlg.skinAttributes)
                gui = GUIOutputDevice()
                gui.parent = dlg.instance