view pytouhou/ui/opengl/texture.pxd @ 515:b3193b43a86c

Add an indirection layer for textures, to cope with drivers assigning them random names.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 06 Dec 2013 19:02:42 +0100
parents 5e3e0b09a531
children dec43940f092
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, list labels) except *