comparison pytouhou/lib/sdl.pxd @ 422:52829ebe2561

Refactor window management in its own class.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 16 Jul 2013 21:07:15 +0200
parents b1248bab2d0f
children 2a352118c55a
comparison
equal deleted inserted replaced
421:b1248bab2d0f 422:52829ebe2561
48 SDL_Window *SDL_CreateWindow(const char *title, int x, int y, int w, int h, Uint32 flags) 48 SDL_Window *SDL_CreateWindow(const char *title, int x, int y, int w, int h, Uint32 flags)
49 SDL_GLContext SDL_GL_CreateContext(SDL_Window *window) 49 SDL_GLContext SDL_GL_CreateContext(SDL_Window *window)
50 void SDL_GL_SwapWindow(SDL_Window *window) 50 void SDL_GL_SwapWindow(SDL_Window *window)
51 void SDL_GL_DeleteContext(SDL_GLContext context) 51 void SDL_GL_DeleteContext(SDL_GLContext context)
52 void SDL_DestroyWindow(SDL_Window *window) 52 void SDL_DestroyWindow(SDL_Window *window)
53
54 void SDL_SetWindowSize(SDL_Window *window, int w, int h)
53 55
54 56
55 cdef extern from "SDL_scancode.h": 57 cdef extern from "SDL_scancode.h":
56 ctypedef enum SDL_Scancode: 58 ctypedef enum SDL_Scancode:
57 SDL_SCANCODE_Z 59 SDL_SCANCODE_Z