Mercurial > touhou
diff 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 |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/pytouhou/ui/sdl/texture.pxd @@ -0,0 +1,15 @@ +#from pytouhou.lib.sdl cimport Font +from pytouhou.lib.sdl cimport Surface, Window + +cdef class TextureManager: + cdef object loader + cdef Window window + + cdef void load(self, dict anms) except * + cdef load_texture(self, Surface texture) + +#cdef class FontManager: +# cdef Font font +# cdef object renderer, texture_class +# +# cdef load(self, list labels)