Mercurial > touhou
comparison pytouhou/ui/window.pxd @ 553:8f51e34d911c
Refactor graphics backend selection, to make them fallbackable and optional.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 29 May 2014 12:31:55 +0200 |
parents | aad758aef26d |
children | 00f228b57840 |
comparison
equal
deleted
inserted
replaced
552:aad758aef26d | 553:8f51e34d911c |
---|---|
18 cdef bint update(self) except * | 18 cdef bint update(self) except * |
19 | 19 |
20 | 20 |
21 cdef class Window: | 21 cdef class Window: |
22 cdef sdl.Window win | 22 cdef sdl.Window win |
23 cdef public bint use_fixed_pipeline | |
24 cdef Runner runner | 23 cdef Runner runner |
25 cdef Clock clock | 24 cdef Clock clock |
26 | 25 |
27 cdef void set_size(self, int width, int height) nogil | 26 cdef void set_size(self, int width, int height) nogil |
28 cpdef set_runner(self, Runner runner=*) | 27 cpdef set_runner(self, Runner runner=*) |