Mercurial > sdl-ios-xcode
comparison src/video/SDL_shape.c @ 4778:9838d3525a1b
Stubbed out the new get/set parameter functions, added the start of the enum, union, and struct for those parameters themselves, and added doxygen comments throughout the SDL_shape.h header.
author | Eli Gottlieb <eligottlieb@gmail.com> |
---|---|
date | Thu, 10 Jun 2010 17:37:19 -0400 |
parents | 29dcad9c58b3 |
children | 4f915a47b995 |
comparison
equal
deleted
inserted
replaced
4777:6e03d73054d7 | 4778:9838d3525a1b |
---|---|
35 } | 35 } |
36 | 36 |
37 int SDL_SelectShapeRenderer(const SDL_Window *window) { | 37 int SDL_SelectShapeRenderer(const SDL_Window *window) { |
38 return -1; | 38 return -1; |
39 } | 39 } |
40 | |
41 int SDL_SetShapeParameters(SDL_Window *window,SDL_WindowShapeMode shapeMode) { | |
42 if(window == NULL || !SDL_WindowIsShaped(window)) | |
43 return -2; | |
44 return -3; | |
45 } | |
46 | |
47 int SDL_GetShapeParameters(SDL_Window *window,SDL_WindowShapeMode *shapeMode) { | |
48 if(shapeMode == NULL) | |
49 return -1; | |
50 if(window == NULL || !SDL_WindowIsShaped(window)) | |
51 return -2; | |
52 return -3; | |
53 } |