diff 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
line wrap: on
line diff
--- a/pytouhou/lib/_sdl.pxd
+++ b/pytouhou/lib/_sdl.pxd
@@ -193,6 +193,10 @@ cdef extern from "SDL_ttf.h" nogil:
     SDL_Surface *TTF_RenderUTF8_Blended(TTF_Font *font, const char *text, SDL_Color fg)
 
 
+cdef extern from "SDL_messagebox.h" nogil:
+    int SDL_ShowSimpleMessageBox(Uint32 flags, const char *title, const char *message, SDL_Window *window)
+
+
 cdef extern from "SDL_blendmode.h" nogil:
     ctypedef enum SDL_BlendMode:
         SDL_BLENDMODE_NONE