diff pytouhou/ui/renderer.pxd @ 464:36bc577b2392

Make the window resizable, and scale its content correctly.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 11 Sep 2013 15:55:19 +0200
parents a71b912b45b7
children feecdb4a8928
line wrap: on
line diff
--- a/pytouhou/ui/renderer.pxd
+++ b/pytouhou/ui/renderer.pxd
@@ -1,4 +1,5 @@
 from cpython cimport PyObject
+from .window cimport Window
 from pytouhou.lib.opengl cimport GLuint
 
 cdef struct Vertex:
@@ -25,7 +26,7 @@ cdef class Renderer:
 
     cpdef render_elements(self, elements)
     cpdef render_quads(self, rects, colors, texture)
-    cpdef render_framebuffer(self, Framebuffer fb)
+    cpdef render_framebuffer(self, Framebuffer fb, Window window)
 
 
 cdef class Framebuffer: