Mercurial > sdl-ios-xcode
diff src/video/SDL_shape.c @ 4781:fc4c775b468a
Added Andreas's fixes to the header and stub file for SDL_shape.
author | Eli Gottlieb <eligottlieb@gmail.com> |
---|---|
date | Mon, 21 Jun 2010 23:08:10 -0400 |
parents | 4f915a47b995 |
children | b6930aefd008 |
line wrap: on
line diff
--- a/src/video/SDL_shape.c Sat Jun 19 23:10:57 2010 -0400 +++ b/src/video/SDL_shape.c Mon Jun 21 23:08:10 2010 -0400 @@ -30,11 +30,11 @@ return NULL; } -SDL_bool SDL_WindowIsShaped(const SDL_Window *window) { +SDL_bool SDL_IsShapedWindow(const SDL_Window *window) { return SDL_FALSE; } -int SDL_SetWindowShape(SDL_Window *window,SDL_Surface *shape,SDL_WindowShapeMode parameters) { +int SDL_SetWindowShape(SDL_Window *window,SDL_Surface *shape,SDL_WindowShapeMode *shapeMode) { if(window == NULL || !SDL_WindowIsShaped(window)) return -2; if(shape == NULL) @@ -42,7 +42,7 @@ return -3; } -int SDL_GetShapeParameters(SDL_Window *window,SDL_WindowShapeMode *shapeMode) { +int SDL_GetShapedWindowMode(SDL_Window *window,SDL_WindowShapeMode *shapeMode) { if(shapeMode == NULL) return -1; if(window == NULL || !SDL_WindowIsShaped(window))