view pytouhou/ui/opengl/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 dec43940f092
children a6af3ff86612
line wrap: on
line source

from pytouhou.lib.sdl cimport Font

cdef class TextureManager:
    cdef object loader, renderer, texture_class

    cdef void load(self, dict anms) except *

cdef class FontManager:
    cdef Font font
    cdef object renderer, texture_class

    cdef void load(self, dict labels) except *