Mercurial > sdl-ios-xcode
comparison src/video/Xext/extensions/Xext.h @ 1662:782fd950bd46 SDL-1.3
Revamp of the video system in progress - adding support for multiple displays, multiple windows, and a full video mode selection API.
WARNING: None of the video drivers have been updated for the new API yet! The API is still under design and very fluid.
The code is now run through a consistent indent format:
indent -i4 -nut -nsc -br -ce
The headers are being converted to automatically generate doxygen documentation.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 28 May 2006 13:04:16 +0000 |
parents | ecba4bbaf9c2 |
children | 4da1ee79c9af |
comparison
equal
deleted
inserted
replaced
1661:281d3f4870e5 | 1662:782fd950bd46 |
---|---|
27 #define _XEXT_H_ | 27 #define _XEXT_H_ |
28 | 28 |
29 #include <X11/Xfuncproto.h> | 29 #include <X11/Xfuncproto.h> |
30 | 30 |
31 _XFUNCPROTOBEGIN | 31 _XFUNCPROTOBEGIN |
32 typedef int (*XExtensionErrorHandler) (Display *, _Xconst char *, | |
33 _Xconst char *); | |
32 | 34 |
33 typedef int (*XExtensionErrorHandler)(Display *, _Xconst char *, | 35 extern XExtensionErrorHandler |
34 _Xconst char *); | 36 XSetExtensionErrorHandler (XExtensionErrorHandler handler); |
35 | 37 |
36 extern XExtensionErrorHandler XSetExtensionErrorHandler( | 38 extern int XMissingExtension (Display * /* dpy */ , |
37 XExtensionErrorHandler handler | 39 _Xconst char * /* ext_name */ |
38 ); | 40 ); |
39 | |
40 extern int XMissingExtension( | |
41 Display* /* dpy */, | |
42 _Xconst char* /* ext_name */ | |
43 ); | |
44 | 41 |
45 _XFUNCPROTOEND | 42 _XFUNCPROTOEND |
46 | |
47 #define X_EXTENSION_UNKNOWN "unknown" | 43 #define X_EXTENSION_UNKNOWN "unknown" |
48 #define X_EXTENSION_MISSING "missing" | 44 #define X_EXTENSION_MISSING "missing" |
49 | |
50 #endif /* _XEXT_H_ */ | 45 #endif /* _XEXT_H_ */ |
46 /* vi: set ts=4 sw=4 expandtab: */ |