Mercurial > touhou
view pytouhou/ui/sdl/texture.pxd @ 584:538b52aafbca
Split GLenum into subtypes, in order to add type safety when calling OpenGL functions.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Wed, 08 Oct 2014 13:21:03 +0200 |
parents | b895ed2de71f |
children | a6af3ff86612 |
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 Window window cdef void load(self, dict labels) except *