Mercurial > touhou
diff pytouhou/ui/sdl/texture.pxd @ 544:b895ed2de71f
Implement text rendering for the SDL backend.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 15 May 2014 02:56:08 +0200 |
parents | b39ad30c6620 |
children | a6af3ff86612 |
line wrap: on
line diff
--- a/pytouhou/ui/sdl/texture.pxd +++ b/pytouhou/ui/sdl/texture.pxd @@ -1,4 +1,4 @@ -#from pytouhou.lib.sdl cimport Font +from pytouhou.lib.sdl cimport Font from pytouhou.lib.sdl cimport Surface, Window cdef class TextureManager: @@ -8,8 +8,8 @@ cdef class TextureManager: 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) +cdef class FontManager: + cdef Font font + cdef Window window + + cdef void load(self, dict labels) except *