src/video/x11/SDL_x11sym.h
changeset 6311 4e5e46f43438
parent 6168 47dc1acea66f
child 6313 d86efd889847
equal deleted inserted replaced
6310:f830e73e2acf 6311:4e5e46f43438
   101 SDL_X11_SYM(int,XUngrabPointer,(Display* a,Time b),(a,b),return)
   101 SDL_X11_SYM(int,XUngrabPointer,(Display* a,Time b),(a,b),return)
   102 SDL_X11_SYM(int,XUngrabServer,(Display* a),(a),return)
   102 SDL_X11_SYM(int,XUngrabServer,(Display* a),(a),return)
   103 SDL_X11_SYM(int,XUnmapWindow,(Display* a,Window b),(a,b),return)
   103 SDL_X11_SYM(int,XUnmapWindow,(Display* a,Window b),(a,b),return)
   104 SDL_X11_SYM(int,XWarpPointer,(Display* a,Window b,Window c,int d,int e,unsigned int f,unsigned int g,int h,int i),(a,b,c,d,e,f,g,h,i),return)
   104 SDL_X11_SYM(int,XWarpPointer,(Display* a,Window b,Window c,int d,int e,unsigned int f,unsigned int g,int h,int i),(a,b,c,d,e,f,g,h,i),return)
   105 SDL_X11_SYM(VisualID,XVisualIDFromVisual,(Visual* a),(a),return)
   105 SDL_X11_SYM(VisualID,XVisualIDFromVisual,(Visual* a),(a),return)
   106 SDL_X11_SYM(XExtDisplayInfo*,XextAddDisplay,(XExtensionInfo* a,Display* b,char* c,XExtensionHooks* d,int e,XPointer f),(a,b,c,d,e,f),return)
   106 SDL_X11_SYM(XExtDisplayInfo*,XextAddDisplay,(XExtensionInfo* a,Display* b,_Xconst char* c,XExtensionHooks* d,int e,XPointer f),(a,b,c,d,e,f),return)
   107 SDL_X11_SYM(XExtensionInfo*,XextCreateExtension,(void),(),return)
   107 SDL_X11_SYM(XExtensionInfo*,XextCreateExtension,(void),(),return)
   108 SDL_X11_SYM(void,XextDestroyExtension,(XExtensionInfo* a),(a),)
   108 SDL_X11_SYM(void,XextDestroyExtension,(XExtensionInfo* a),(a),)
   109 SDL_X11_SYM(XExtDisplayInfo*,XextFindDisplay,(XExtensionInfo* a,Display* b),(a,b),return)
   109 SDL_X11_SYM(XExtDisplayInfo*,XextFindDisplay,(XExtensionInfo* a,Display* b),(a,b),return)
   110 SDL_X11_SYM(int,XextRemoveDisplay,(XExtensionInfo* a,Display* b),(a,b),return)
   110 SDL_X11_SYM(int,XextRemoveDisplay,(XExtensionInfo* a,Display* b),(a,b),return)
   111 SDL_X11_SYM(Bool,XQueryExtension,(Display* a,_Xconst char* b,int* c,int* d,int* e),(a,b,c,d,e),return)
   111 SDL_X11_SYM(Bool,XQueryExtension,(Display* a,_Xconst char* b,int* c,int* d,int* e),(a,b,c,d,e),return)
   121 SDL_X11_SYM(unsigned long,_XSetLastRequestRead,(Display* a,xGenericReply* b),(a,b),return)
   121 SDL_X11_SYM(unsigned long,_XSetLastRequestRead,(Display* a,xGenericReply* b),(a,b),return)
   122 SDL_X11_SYM(SDL_X11_XSynchronizeRetType,XSynchronize,(Display* a,Bool b),(a,b),return)
   122 SDL_X11_SYM(SDL_X11_XSynchronizeRetType,XSynchronize,(Display* a,Bool b),(a,b),return)
   123 SDL_X11_SYM(SDL_X11_XESetWireToEventRetType,XESetWireToEvent,(Display* a,int b,SDL_X11_XESetWireToEventRetType c),(a,b,c),return)
   123 SDL_X11_SYM(SDL_X11_XESetWireToEventRetType,XESetWireToEvent,(Display* a,int b,SDL_X11_XESetWireToEventRetType c),(a,b,c),return)
   124 SDL_X11_SYM(SDL_X11_XESetEventToWireRetType,XESetEventToWire,(Display* a,int b,SDL_X11_XESetEventToWireRetType c),(a,b,c),return)
   124 SDL_X11_SYM(SDL_X11_XESetEventToWireRetType,XESetEventToWire,(Display* a,int b,SDL_X11_XESetEventToWireRetType c),(a,b,c),return)
   125 
   125 
       
   126 #if SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS
       
   127 SDL_X11_SYM(Bool,XGetEventData,(Display* a,XGenericEventCookie* b),(a,b),return)
       
   128 SDL_X11_SYM(void,XFreeEventData,(Display* a,XGenericEventCookie* b),(a,b),)    
       
   129 #endif
       
   130 
   126 #if NeedWidePrototypes
   131 #if NeedWidePrototypes
   127 SDL_X11_SYM(KeySym,XKeycodeToKeysym,(Display* a,unsigned int b,int c),(a,b,c),return)
   132 SDL_X11_SYM(KeySym,XKeycodeToKeysym,(Display* a,unsigned int b,int c),(a,b,c),return)
   128 #else
   133 #else
   129 SDL_X11_SYM(KeySym,XKeycodeToKeysym,(Display* a,KeyCode b,int c),(a,b,c),return)
   134 SDL_X11_SYM(KeySym,XKeycodeToKeysym,(Display* a,KeyCode b,int c),(a,b,c),return)
   130 #endif
   135 #endif
   188 SDL_X11_SYM(Bool,XineramaQueryExtension,(Display *a,int *b,int *c),(a,b,c),return)
   193 SDL_X11_SYM(Bool,XineramaQueryExtension,(Display *a,int *b,int *c),(a,b,c),return)
   189 SDL_X11_SYM(Status,XineramaQueryVersion,(Display *a,int *b,int *c),(a,b,c),return)
   194 SDL_X11_SYM(Status,XineramaQueryVersion,(Display *a,int *b,int *c),(a,b,c),return)
   190 SDL_X11_SYM(XineramaScreenInfo*,XineramaQueryScreens,(Display *a, int *b),(a,b),return)
   195 SDL_X11_SYM(XineramaScreenInfo*,XineramaQueryScreens,(Display *a, int *b),(a,b),return)
   191 #endif
   196 #endif
   192 
   197 
   193 /* XInput support for multiple mice, tablets, etc. */
   198 /* XInput2 support for multiple mice, tablets, etc. */
   194 #if SDL_VIDEO_DRIVER_X11_XINPUT
   199 #if SDL_VIDEO_DRIVER_X11_XINPUT2
   195 SDL_X11_MODULE(XINPUT)
   200 SDL_X11_MODULE(XINPUT2)
   196 SDL_X11_SYM(XDeviceInfo*,XListInputDevices,(Display *a,int *b),(a,b),return)
   201 SDL_X11_SYM(XIDeviceInfo*,XIQueryDevice,(Display *a,int b,int *c),(a,b,c),return)
   197 SDL_X11_SYM(void,XFreeDeviceList,(XDeviceInfo *a),(a),)
   202 SDL_X11_SYM(void,XIFreeDeviceInfo,(XIDeviceInfo *a),(a),)
   198 SDL_X11_SYM(int,XSelectExtensionEvent,(Display *a,Window b,XEventClass *c,int d),(a,b,c,d),return)
   203 SDL_X11_SYM(int,XISelectEvents,(Display *a,Window b,XIEventMask *c,int d),(a,b,c,d),return)
   199 SDL_X11_SYM(XDevice*,XOpenDevice,(Display *a,XID b),(a,b),return)
   204 SDL_X11_SYM(Status,XIQueryVersion,(Display *a,int *b,int *c),(a,b,c),return)
   200 SDL_X11_SYM(int,XCloseDevice,(Display* a,XDevice* b),(a,b),return)
   205 SDL_X11_SYM(XIEventMask*,XIGetSelectedEvents,(Display *a,Window b,int *c),(a,b,c),return)
   201 #endif
   206 #endif
   202 
   207 
   203 /* XRandR support */
   208 /* XRandR support */
   204 #if SDL_VIDEO_DRIVER_X11_XRANDR
   209 #if SDL_VIDEO_DRIVER_X11_XRANDR
   205 SDL_X11_MODULE(XRANDR)
   210 SDL_X11_MODULE(XRANDR)