diff src/video/x11/SDL_x11sym.h @ 4790:f0b0bdc07916

Add new X11 symbols that XShape support needs to the dynamic function list.
author Ryan C. Gordon <icculus@icculus.org>
date Tue, 13 Jul 2010 02:12:14 -0400
parents f7b03b6838cb
children e562160a873f
line wrap: on
line diff
--- a/src/video/x11/SDL_x11sym.h	Sun Jul 11 17:11:22 2010 -0400
+++ b/src/video/x11/SDL_x11sym.h	Tue Jul 13 02:12:14 2010 -0400
@@ -151,6 +151,7 @@
 SDL_X11_SYM(SDL_X11_XESetWireToEventRetType,XESetWireToEvent,(Display* a,int b,SDL_X11_XESetWireToEventRetType c),(a,b,c),return)
 SDL_X11_SYM(SDL_X11_XESetEventToWireRetType,XESetEventToWire,(Display* a,int b,SDL_X11_XESetEventToWireRetType c),(a,b,c),return)
 SDL_X11_SYM(XExtensionErrorHandler,XSetExtensionErrorHandler,(XExtensionErrorHandler a),(a),return)
+SDL_X11_SYM(Pixmap,XCreateBitmapFromData,(Display *dpy,Drawable d,_Xconst char *data,unsigned int width,unsigned int height),(dpy,d,data,width,height),return)
 
 #if NeedWidePrototypes
 SDL_X11_SYM(KeySym,XKeycodeToKeysym,(Display* a,unsigned int b,int c),(a,b,c),return)
@@ -232,6 +233,11 @@
 SDL_X11_SYM(void,XScreenSaverSuspend,(Display *dpy,Bool suspend),(dpy,suspend),return)
 #endif
 
+#if 1 /* !!! FIXME: SDL_VIDEO_DRIVER_X11_XSHAPE */
+SDL_X11_MODULE(XSHAPE)
+SDL_X11_SYM(void,XShapeCombineMask,(Display *dpy,Window dest,int dest_kind,int x_off,int y_off,Pixmap src,int op),(dpy,dest,dest_kind,x_off,y_off,src,op),)
+#endif
+
 /* *INDENT-ON* */
 
 /* vi: set ts=4 sw=4 expandtab: */