Mercurial > touhou
comparison pytouhou/ui/sdl/gamerenderer.pxd @ 544:b895ed2de71f
Implement text rendering for the SDL backend.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 15 May 2014 02:56:08 +0200 |
parents | dacdcca59b66 |
children | a6af3ff86612 |
comparison
equal
deleted
inserted
replaced
543:fb837b32c3dd | 544:b895ed2de71f |
---|---|
1 from pytouhou.game.game cimport Game | 1 from pytouhou.game.game cimport Game |
2 from .texture cimport TextureManager | 2 from .texture cimport TextureManager, FontManager |
3 from .sprite cimport get_sprite_rendering_data | 3 from .sprite cimport get_sprite_rendering_data |
4 from pytouhou.ui.window cimport Window | 4 from pytouhou.ui.window cimport Window |
5 | 5 |
6 cdef class GameRenderer: | 6 cdef class GameRenderer: |
7 cdef Window window | 7 cdef Window window |
8 cdef TextureManager texture_manager | 8 cdef TextureManager texture_manager |
9 #cdef FontManager font_manager | 9 cdef FontManager font_manager |
10 cdef long x, y, width, height | 10 cdef long x, y, width, height |
11 | 11 |
12 cdef public size #XXX | 12 cdef public size #XXX |
13 | 13 |
14 cdef void render_game(self, Game game) except * | 14 cdef void render_game(self, Game game) except * |