Mercurial > touhou
comparison 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 |
comparison
equal
deleted
inserted
replaced
543:fb837b32c3dd | 544:b895ed2de71f |
---|---|
1 #from pytouhou.lib.sdl cimport Font | 1 from pytouhou.lib.sdl cimport Font |
2 from pytouhou.lib.sdl cimport Surface, Window | 2 from pytouhou.lib.sdl cimport Surface, Window |
3 | 3 |
4 cdef class TextureManager: | 4 cdef class TextureManager: |
5 cdef object loader | 5 cdef object loader |
6 cdef Window window | 6 cdef Window window |
7 | 7 |
8 cdef void load(self, dict anms) except * | 8 cdef void load(self, dict anms) except * |
9 cdef load_texture(self, Surface texture) | 9 cdef load_texture(self, Surface texture) |
10 | 10 |
11 #cdef class FontManager: | 11 cdef class FontManager: |
12 # cdef Font font | 12 cdef Font font |
13 # cdef object renderer, texture_class | 13 cdef Window window |
14 # | 14 |
15 # cdef load(self, list labels) | 15 cdef void load(self, dict labels) except * |