Mercurial > touhou
view pytouhou/ui/sdl/texture.pxd @ 543:fb837b32c3dd
Automatically fallback on the SDL renderer if the OpenGL one can’t be imported.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 10 May 2014 23:40:13 +0200 |
parents | b39ad30c6620 |
children | b895ed2de71f |
line wrap: on
line source
#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)