comparison pytouhou/lib/_sdl.pxd @ 531:a7dc55ad9380

Display important messages in popups, instead of the terminal.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 19 Dec 2013 00:44:18 +0100
parents b39ad30c6620
children c34b23e29d16
comparison
equal deleted inserted replaced
530:64d9117b9209 531:a7dc55ad9380
191 TTF_Font *TTF_OpenFont(const char *filename, int ptsize) 191 TTF_Font *TTF_OpenFont(const char *filename, int ptsize)
192 void TTF_CloseFont(TTF_Font *font) 192 void TTF_CloseFont(TTF_Font *font)
193 SDL_Surface *TTF_RenderUTF8_Blended(TTF_Font *font, const char *text, SDL_Color fg) 193 SDL_Surface *TTF_RenderUTF8_Blended(TTF_Font *font, const char *text, SDL_Color fg)
194 194
195 195
196 cdef extern from "SDL_messagebox.h" nogil:
197 int SDL_ShowSimpleMessageBox(Uint32 flags, const char *title, const char *message, SDL_Window *window)
198
199
196 cdef extern from "SDL_blendmode.h" nogil: 200 cdef extern from "SDL_blendmode.h" nogil:
197 ctypedef enum SDL_BlendMode: 201 ctypedef enum SDL_BlendMode:
198 SDL_BLENDMODE_NONE 202 SDL_BLENDMODE_NONE
199 SDL_BLENDMODE_BLEND 203 SDL_BLENDMODE_BLEND
200 SDL_BLENDMODE_ADD 204 SDL_BLENDMODE_ADD