Mercurial > sdl-ios-xcode
diff src/video/x11/SDL_x11dyn.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 |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11dyn.h Sun May 21 17:27:13 2006 +0000 +++ b/src/video/x11/SDL_x11dyn.h Sun May 28 13:04:16 2006 +0000 @@ -54,20 +54,23 @@ * headers that may or may not exist or vary on a given platform. */ #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif /* evil function signatures... */ -typedef Bool (*SDL_X11_XESetWireToEventRetType)(Display*,XEvent*,xEvent*); -typedef int (*SDL_X11_XSynchronizeRetType)(Display*); -typedef Status (*SDL_X11_XESetEventToWireRetType)(Display*,XEvent*,xEvent*); + typedef Bool (*SDL_X11_XESetWireToEventRetType) (Display *, XEvent *, + xEvent *); + typedef int (*SDL_X11_XSynchronizeRetType) (Display *); + typedef Status (*SDL_X11_XESetEventToWireRetType) (Display *, XEvent *, + xEvent *); -int SDL_X11_LoadSymbols(void); -void SDL_X11_UnloadSymbols(void); + int SDL_X11_LoadSymbols (void); + void SDL_X11_UnloadSymbols (void); /* That's really annoying...make this a function pointer no matter what. */ #ifdef X_HAVE_UTF8_STRING -extern XIC (*pXCreateIC)(XIM,...); + extern XIC (*pXCreateIC) (XIM, ...); #endif /* These SDL_X11_HAVE_* flags are here whether you have dynamic X11 or not. */ @@ -82,5 +85,5 @@ } #endif -#endif /* !defined _SDL_x11dyn_h */ - +#endif /* !defined _SDL_x11dyn_h */ +/* vi: set ts=4 sw=4 expandtab: */