comparison src/video/SDL_sysvideo.h @ 4809:329708ffe2a7

Rejiggering the way shaped windows are created as preparation for OS X implementation. Fixed overdrive bug in test program that appears to have been introduced by someone other than myself.
author Eli Gottlieb <eligottlieb@gmail.com>
date Mon, 26 Jul 2010 17:27:04 -0400
parents c9eb95f29770
children 7a602fd2121f
comparison
equal deleted inserted replaced
4808:2ae79ed78a5a 4809:329708ffe2a7
154 }; 154 };
155 155
156 /* Define the SDL shape driver structure */ 156 /* Define the SDL shape driver structure */
157 struct SDL_ShapeDriver 157 struct SDL_ShapeDriver
158 { 158 {
159 SDL_Window *(*CreateShapedWindow)(const char *title,unsigned int x,unsigned int y,unsigned int w,unsigned int h,Uint32 flags);
159 SDL_WindowShaper *(*CreateShaper)(SDL_Window * window); 160 SDL_WindowShaper *(*CreateShaper)(SDL_Window * window);
160 int (*SetWindowShape)(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shapeMode); 161 int (*SetWindowShape)(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shapeMode);
161 int (*ResizeWindowShape)(SDL_Window *window); 162 int (*ResizeWindowShape)(SDL_Window *window);
162 }; 163 };
163 164