view pytouhou/ui/glide/window.pxd @ 787:7f9b3f5001c2

interpreters: Make Interpolator generic over N This was a workaround for Rust < 1.51 which didn’t support const generics yet, but we’ve had tat for close to five years now!
author Link Mauve <linkmauve@linkmauve.fr>
date Mon, 15 Dec 2025 11:34:58 +0100
parents 7492d384d122
children
line wrap: on
line source

cimport pytouhou.lib.gui as gui

cdef class Window(gui.Window):
    cdef void present(self) nogil
    cdef void set_window_size(self, int width, int height) nogil
    cdef void set_swap_interval(self, int interval) except *
    cdef list get_events(self)
    cdef int get_keystate(self) nogil
    cdef void toggle_fullscreen(self) nogil