comparison src/video/SDL_shape.c @ 4769:83f9b95da263

Added the standard headers and footers that make SDL_shape.h and SDL_shape.c integrate properly into the build.
author Eli Gottlieb <eligottlieb@gmail.com>
date Thu, 27 May 2010 16:44:35 -0400
parents 7b50faf23907
children 98197bf0eae4
comparison
equal deleted inserted replaced
4768:4435e014eacc 4769:83f9b95da263
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 18
19 Eli Gottlieb 19 Eli Gottlieb
20 eligottlieb@gmail.com 20 eligottlieb@gmail.com
21 */ 21 */
22 #include "SDL_config.h"
22 23
24 #include "SDL.h"
25 #include "SDL_video.h"
26 #include "SDL_sysvideo.h"
23 #include "SDL_shape.h" 27 #include "SDL_shape.h"
24 28
25 struct SDL_Shaped_Window { 29 SDL_Window* SDL_CreateShapedWindow(const char *title,unsigned int x,unsigned int y,unsigned int w,unsigned int h,Uint32 flags) {
26 SDL_Window *window;
27 SDL_Surface *shape_mask;
28 }
29
30 SDL_Shaped_Window * SDLCALL SDL_CreateShapedWindow(const char *title,
31 unsigned int x,unsigned int y,
32 unsigned int w,unsigned int h,
33 Uint32 flags) {
34 //TODO: Fill in stub of SDL_CreatedShapedWindow
35 return NULL; 30 return NULL;
36 } 31 }
37 32
38 int SDLCALL SDL_PresentShape(const SDL_Shaped_Window *window) { 33 SDL_bool SDL_WindowIsShaped(const SDL_Window *window) {
39 //TODO: Fill in stub of SDL_PresentShape 34 return SDL_FALSE;
35 }
36
37 int SDL_SelectShapeRenderer(const SDL_Window *window) {
40 return -1; 38 return -1;
41 } 39 }
42
43 void SDLCALL SDL_DestroyShapedWindow(const SDL_Shaped_Window *window) {
44 //TODO: Fill in stub of SDL_DestroyShapedWindow
45 return;
46 }