view pytouhou/ui/sdl/texture.pxd @ 757:21b186be2590

Split the Rust version into multiple crates.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 05 Jan 2021 02:16:32 +0100
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