comparison pytouhou/lib/_sdl.pxd @ 592:19d930f9e3f0

Add the screenshot feature, using P or Home like the original game.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 23 Apr 2014 19:19:32 +0200
parents 0768122da817
children 73f134f84c7f
comparison
equal deleted inserted replaced
591:2dfa4aa135d2 592:19d930f9e3f0
68 68
69 cdef extern from "SDL_scancode.h" nogil: 69 cdef extern from "SDL_scancode.h" nogil:
70 ctypedef enum SDL_Scancode: 70 ctypedef enum SDL_Scancode:
71 SDL_SCANCODE_Z 71 SDL_SCANCODE_Z
72 SDL_SCANCODE_X 72 SDL_SCANCODE_X
73 SDL_SCANCODE_P
73 SDL_SCANCODE_LSHIFT 74 SDL_SCANCODE_LSHIFT
74 SDL_SCANCODE_UP 75 SDL_SCANCODE_UP
75 SDL_SCANCODE_DOWN 76 SDL_SCANCODE_DOWN
76 SDL_SCANCODE_LEFT 77 SDL_SCANCODE_LEFT
77 SDL_SCANCODE_RIGHT 78 SDL_SCANCODE_RIGHT
78 SDL_SCANCODE_LCTRL 79 SDL_SCANCODE_LCTRL
79 SDL_SCANCODE_ESCAPE 80 SDL_SCANCODE_ESCAPE
81 SDL_SCANCODE_HOME
80 82
81 83
82 cdef extern from "SDL_events.h" nogil: 84 cdef extern from "SDL_events.h" nogil:
83 ctypedef enum SDL_EventType: 85 ctypedef enum SDL_EventType:
84 SDL_KEYDOWN 86 SDL_KEYDOWN