diff pyntnclick/engine.py @ 803:bcc9277a23e6 pyntnclick

Refactor widget positioning API. Remove unused widgets
author Stefano Rivera <stefano@rivera.za.net>
date Sun, 27 Jan 2013 14:52:16 +0200
parents 374d96e0b55e
children
line wrap: on
line diff
--- a/pyntnclick/engine.py	Sun Jan 27 14:50:33 2013 +0200
+++ b/pyntnclick/engine.py	Sun Jan 27 14:52:16 2013 +0200
@@ -69,8 +69,7 @@
 
         self.surface_size = gd.constants.screen
         self.surface = None
-        self.container = Container(pygame.Rect((0, 0), self.surface_size),
-                self.gd)
+        self.container = Container((0, 0), self.gd, self.surface_size)
         self.setup()
 
     def on_enter(self):