comparison src/video/SDL_shape.c @ 4766:7b50faf23907

Moved SDL_shape.h, and building out the API as needed by SDL_Eyes.
author Eli Gottlieb <eligottlieb@gmail.com>
date Fri, 21 May 2010 17:28:12 -0400
parents 5ff305de5834
children 83f9b95da263
comparison
equal deleted inserted replaced
4765:5ff305de5834 4766:7b50faf23907
19 Eli Gottlieb 19 Eli Gottlieb
20 eligottlieb@gmail.com 20 eligottlieb@gmail.com
21 */ 21 */
22 22
23 #include "SDL_shape.h" 23 #include "SDL_shape.h"
24
25 struct SDL_Shaped_Window {
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;
36 }
37
38 int SDLCALL SDL_PresentShape(const SDL_Shaped_Window *window) {
39 //TODO: Fill in stub of SDL_PresentShape
40 return -1;
41 }
42
43 void SDLCALL SDL_DestroyShapedWindow(const SDL_Shaped_Window *window) {
44 //TODO: Fill in stub of SDL_DestroyShapedWindow
45 return;
46 }