view pytouhou/ui/sdl/texture.pxd @ 553:8f51e34d911c

Refactor graphics backend selection, to make them fallbackable and optional.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 29 May 2014 12:31:55 +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 *