view pytouhou/ui/glide/window.pxd @ 796:d876ac2ccfe1 default tip

Pass audio only once to GameRunner This prevents it being recreated every stage change, and playing music over the previous stages’ music.
author Link Mauve <linkmauve@linkmauve.fr>
date Sun, 28 Jun 2026 14:27:03 +0200
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