diff pytouhou/ui/window.pxd @ 464:36bc577b2392

Make the window resizable, and scale its content correctly.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 11 Sep 2013 15:55:19 +0200
parents 11708a1d0a1a
children 2276229282fd
line wrap: on
line diff
--- a/pytouhou/ui/window.pxd
+++ b/pytouhou/ui/window.pxd
@@ -21,7 +21,7 @@ cdef class Runner:
 cdef class Window:
     cdef sdl.Window win
     cdef long fps_limit
-    cdef public long width, height
+    cdef public long x, y, width, height
     cdef public bint use_fixed_pipeline
     cdef Runner runner
     cdef Clock clock