comparison include/SDL_compat.h @ 1668:4da1ee79c9af SDL-1.3

more tweaking indent options
author Sam Lantinga <slouken@libsdl.org>
date Mon, 29 May 2006 04:04:35 +0000
parents 1fddae038bc8
children 9857d21967bb
comparison
equal deleted inserted replaced
1667:1fddae038bc8 1668:4da1ee79c9af
64 SDL_GRAB_QUERY = -1, 64 SDL_GRAB_QUERY = -1,
65 SDL_GRAB_OFF = 0, 65 SDL_GRAB_OFF = 0,
66 SDL_GRAB_ON = 1 66 SDL_GRAB_ON = 1
67 } SDL_GrabMode; 67 } SDL_GrabMode;
68 68
69 extern DECLSPEC const SDL_version *SDLCALL SDL_Linked_Version (void); 69 extern DECLSPEC const SDL_version *SDLCALL SDL_Linked_Version(void);
70 extern DECLSPEC char *SDLCALL SDL_AudioDriverName (char *namebuf, int maxlen); 70 extern DECLSPEC char *SDLCALL SDL_AudioDriverName(char *namebuf, int maxlen);
71 extern DECLSPEC char *SDLCALL SDL_VideoDriverName (char *namebuf, int maxlen); 71 extern DECLSPEC char *SDLCALL SDL_VideoDriverName(char *namebuf, int maxlen);
72 extern DECLSPEC int SDLCALL SDL_VideoModeOK (int width, int height, int bpp, 72 extern DECLSPEC int SDLCALL SDL_VideoModeOK(int width, int height, int bpp,
73 Uint32 flags); 73 Uint32 flags);
74 extern DECLSPEC SDL_Rect **SDLCALL SDL_ListModes (SDL_PixelFormat * format, 74 extern DECLSPEC SDL_Rect **SDLCALL SDL_ListModes(SDL_PixelFormat * format,
75 Uint32 flags); 75 Uint32 flags);
76 extern DECLSPEC SDL_Surface *SDLCALL SDL_SetVideoMode (int width, int height, 76 extern DECLSPEC SDL_Surface *SDLCALL SDL_SetVideoMode(int width, int height,
77 int bpp, Uint32 flags); 77 int bpp, Uint32 flags);
78 extern DECLSPEC SDL_Surface *SDLCALL SDL_GetVideoSurface (void); 78 extern DECLSPEC SDL_Surface *SDLCALL SDL_GetVideoSurface(void);
79 extern DECLSPEC void SDLCALL SDL_WM_SetCaption (const char *title, 79 extern DECLSPEC void SDLCALL SDL_WM_SetCaption(const char *title,
80 const char *icon); 80 const char *icon);
81 extern DECLSPEC void SDLCALL SDL_WM_GetCaption (char **title, char **icon); 81 extern DECLSPEC void SDLCALL SDL_WM_GetCaption(char **title, char **icon);
82 extern DECLSPEC void SDLCALL SDL_WM_SetIcon (SDL_Surface * icon, 82 extern DECLSPEC void SDLCALL SDL_WM_SetIcon(SDL_Surface * icon, Uint8 * mask);
83 Uint8 * mask); 83 extern DECLSPEC int SDLCALL SDL_WM_IconifyWindow(void);
84 extern DECLSPEC int SDLCALL SDL_WM_IconifyWindow (void); 84 extern DECLSPEC int SDLCALL SDL_WM_ToggleFullScreen(SDL_Surface * surface);
85 extern DECLSPEC int SDLCALL SDL_WM_ToggleFullScreen (SDL_Surface * surface); 85 extern DECLSPEC SDL_GrabMode SDLCALL SDL_WM_GrabInput(SDL_GrabMode mode);
86 extern DECLSPEC SDL_GrabMode SDLCALL SDL_WM_GrabInput (SDL_GrabMode mode); 86 extern DECLSPEC Uint8 SDLCALL SDL_GetAppState(void);
87 extern DECLSPEC Uint8 SDLCALL SDL_GetAppState (void); 87 extern DECLSPEC int SDLCALL SDL_SetPalette(SDL_Surface * surface, int flags,
88 extern DECLSPEC int SDLCALL SDL_SetPalette (SDL_Surface * surface, int flags, 88 SDL_Color * colors,
89 SDL_Color * colors, 89 int firstcolor, int ncolors);
90 int firstcolor, int ncolors); 90 extern DECLSPEC int SDLCALL SDL_GetWMInfo(SDL_SysWMinfo * info);
91 extern DECLSPEC int SDLCALL SDL_GetWMInfo (SDL_SysWMinfo * info);
92 91
93 /* Ends C function definitions when using C++ */ 92 /* Ends C function definitions when using C++ */
94 #ifdef __cplusplus 93 #ifdef __cplusplus
95 /* *INDENT-OFF* */ 94 /* *INDENT-OFF* */
96 } 95 }