comparison pytouhou/lib/sdl.pyx @ 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 2dfa4aa135d2
children aca9551ee8b4
comparison
equal deleted inserted replaced
591:2dfa4aa135d2 592:19d930f9e3f0
31 WINDOW_OPENGL = SDL_WINDOW_OPENGL 31 WINDOW_OPENGL = SDL_WINDOW_OPENGL
32 WINDOW_RESIZABLE = SDL_WINDOW_RESIZABLE 32 WINDOW_RESIZABLE = SDL_WINDOW_RESIZABLE
33 33
34 SCANCODE_Z = SDL_SCANCODE_Z 34 SCANCODE_Z = SDL_SCANCODE_Z
35 SCANCODE_X = SDL_SCANCODE_X 35 SCANCODE_X = SDL_SCANCODE_X
36 SCANCODE_P = SDL_SCANCODE_P
36 SCANCODE_LSHIFT = SDL_SCANCODE_LSHIFT 37 SCANCODE_LSHIFT = SDL_SCANCODE_LSHIFT
37 SCANCODE_UP = SDL_SCANCODE_UP 38 SCANCODE_UP = SDL_SCANCODE_UP
38 SCANCODE_DOWN = SDL_SCANCODE_DOWN 39 SCANCODE_DOWN = SDL_SCANCODE_DOWN
39 SCANCODE_LEFT = SDL_SCANCODE_LEFT 40 SCANCODE_LEFT = SDL_SCANCODE_LEFT
40 SCANCODE_RIGHT = SDL_SCANCODE_RIGHT 41 SCANCODE_RIGHT = SDL_SCANCODE_RIGHT
41 SCANCODE_LCTRL = SDL_SCANCODE_LCTRL 42 SCANCODE_LCTRL = SDL_SCANCODE_LCTRL
42 SCANCODE_ESCAPE = SDL_SCANCODE_ESCAPE 43 SCANCODE_ESCAPE = SDL_SCANCODE_ESCAPE
44 SCANCODE_HOME = SDL_SCANCODE_HOME
43 45
44 WINDOWEVENT_RESIZED = SDL_WINDOWEVENT_RESIZED 46 WINDOWEVENT_RESIZED = SDL_WINDOWEVENT_RESIZED
45 47
46 KEYDOWN = SDL_KEYDOWN 48 KEYDOWN = SDL_KEYDOWN
47 QUIT = SDL_QUIT 49 QUIT = SDL_QUIT