comparison 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
comparison
equal deleted inserted replaced
463:11708a1d0a1a 464:36bc577b2392
19 19
20 20
21 cdef class Window: 21 cdef class Window:
22 cdef sdl.Window win 22 cdef sdl.Window win
23 cdef long fps_limit 23 cdef long fps_limit
24 cdef public long width, height 24 cdef public long x, y, width, height
25 cdef public bint use_fixed_pipeline 25 cdef public bint use_fixed_pipeline
26 cdef Runner runner 26 cdef Runner runner
27 cdef Clock clock 27 cdef Clock clock
28 28
29 cdef void set_size(self, int width, int height) nogil 29 cdef void set_size(self, int width, int height) nogil