Mercurial > touhou
comparison pytouhou/ui/sdl/gamerenderer.pxd @ 512:b39ad30c6620
Add a pure SDL backend.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 05 Dec 2013 01:55:39 +0100 |
parents | |
children | dacdcca59b66 |
comparison
equal
deleted
inserted
replaced
511:2e8ceaa85d5c | 512:b39ad30c6620 |
---|---|
1 from pytouhou.game.game cimport Game | |
2 from .texture cimport TextureManager | |
3 from pytouhou.ui.window cimport Window | |
4 | |
5 cdef class GameRenderer: | |
6 cdef Window window | |
7 cdef TextureManager texture_manager | |
8 #cdef FontManager font_manager | |
9 cdef long x, y, width, height | |
10 | |
11 cdef public size #XXX | |
12 | |
13 cdef void render_game(self, Game game) except * | |
14 cdef void render_text(self, texts) except * | |
15 cdef void render_interface(self, interface, game_boss) except * |