view pytouhou/ui/sdl/texture.pxd @ 619:39874a722b76

Use two passes for the module search, and clean it up so that pure Python modules don’t get compiled by default.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 31 Mar 2015 21:26:00 +0200
parents a6af3ff86612
children
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 bint load(self, dict anms) except True
    cdef load_texture(self, Surface texture)

cdef class FontManager:
    cdef Font font
    cdef Window window

    cdef bint load(self, dict labels) except True