comparison src/video/cybergfx/SDL_cgxvideo.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 782fd950bd46
children
comparison
equal deleted inserted replaced
1667:1fddae038bc8 1668:4da1ee79c9af
146 #define SDL_iconcolors (this->hidden->iconcolors) 146 #define SDL_iconcolors (this->hidden->iconcolors)
147 147
148 /* Used to get the X cursor from a window-manager specific cursor */ 148 /* Used to get the X cursor from a window-manager specific cursor */
149 // extern Cursor SDL_GetWMXCursor(WMcursor *cursor); 149 // extern Cursor SDL_GetWMXCursor(WMcursor *cursor);
150 150
151 extern int CGX_CreateWindow (_THIS, SDL_Surface * screen, 151 extern int CGX_CreateWindow(_THIS, SDL_Surface * screen,
152 int w, int h, int bpp, Uint32 flags); 152 int w, int h, int bpp, Uint32 flags);
153 extern int CGX_ResizeWindow (_THIS, 153 extern int CGX_ResizeWindow(_THIS,
154 SDL_Surface * screen, int w, int h, 154 SDL_Surface * screen, int w, int h, Uint32 flags);
155 Uint32 flags);
156 155
157 extern void CGX_DestroyWindow (_THIS, SDL_Surface * screen); 156 extern void CGX_DestroyWindow(_THIS, SDL_Surface * screen);
158 157
159 extern struct Library *CyberGfxBase; 158 extern struct Library *CyberGfxBase;
160 extern struct IntuitionBase *IntuitionBase; 159 extern struct IntuitionBase *IntuitionBase;
161 extern struct GfxBase *GfxBase; 160 extern struct GfxBase *GfxBase;
162 extern struct ExecBase *SysBase; 161 extern struct ExecBase *SysBase;
169 struct SDL_VideoDevice *videodata; 168 struct SDL_VideoDevice *videodata;
170 APTR mask; 169 APTR mask;
171 int allocated; 170 int allocated;
172 }; 171 };
173 172
174 int CGX_CheckHWBlit (_THIS, SDL_Surface * src, SDL_Surface * dst); 173 int CGX_CheckHWBlit(_THIS, SDL_Surface * src, SDL_Surface * dst);
175 int CGX_FillHWRect (_THIS, SDL_Surface * dst, SDL_Rect * dstrect, 174 int CGX_FillHWRect(_THIS, SDL_Surface * dst, SDL_Rect * dstrect,
176 Uint32 color); 175 Uint32 color);
177 int CGX_SetHWColorKey (_THIS, SDL_Surface * surface, Uint32 key); 176 int CGX_SetHWColorKey(_THIS, SDL_Surface * surface, Uint32 key);
178 #endif /* _SDL_x11video_h */ 177 #endif /* _SDL_x11video_h */
179 /* vi: set ts=4 sw=4 expandtab: */ 178 /* vi: set ts=4 sw=4 expandtab: */