Mercurial > touhou
comparison pytouhou/ui/sdl/texture.pxd @ 512:b39ad30c6620
Add a pure SDL backend.
| author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
|---|---|
| date | Thu, 05 Dec 2013 01:55:39 +0100 |
| parents | |
| children | b895ed2de71f |
comparison
equal
deleted
inserted
replaced
| 511:2e8ceaa85d5c | 512:b39ad30c6620 |
|---|---|
| 1 #from pytouhou.lib.sdl cimport Font | |
| 2 from pytouhou.lib.sdl cimport Surface, Window | |
| 3 | |
| 4 cdef class TextureManager: | |
| 5 cdef object loader | |
| 6 cdef Window window | |
| 7 | |
| 8 cdef void load(self, dict anms) except * | |
| 9 cdef load_texture(self, Surface texture) | |
| 10 | |
| 11 #cdef class FontManager: | |
| 12 # cdef Font font | |
| 13 # cdef object renderer, texture_class | |
| 14 # | |
| 15 # cdef load(self, list labels) |
