1.1 --- a/src/video/cocoa/SDL_cocoashape.h Mon Aug 02 23:58:22 2010 -0400
1.2 +++ b/src/video/cocoa/SDL_cocoashape.h Tue Aug 03 00:47:33 2010 -0400
1.3 @@ -20,14 +20,26 @@
1.4 eligottlieb@gmail.com
1.5 */
1.6
1.7 +#include "SDL_config.h"
1.8 +
1.9 +#ifndef _SDL_cocoashape_h
1.10 +#define _SDL_cocoashape_h
1.11 +
1.12 +#include "SDL_stdinc.h"
1.13 +#include "SDL_video.h"
1.14 +#include "SDL_shape.h"
1.15 +#include "SDL_shape_internals.h"
1.16 +#include "../SDL_sysvideo.h"
1.17 +
1.18 typedef struct {
1.19 NSGraphicsContext* context;
1.20 - SDL_Bool saved;
1.21 + SDL_bool saved;
1.22
1.23 - NSRect* rects;
1.24 - Uint32 count;
1.25 + SDL_ShapeTree* shape;
1.26 } SDL_ShapeData;
1.27
1.28 extern SDL_WindowShaper* Cocoa_CreateShaper(SDL_Window* window);
1.29 extern int Cocoa_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shapeMode);
1.30 extern int Cocoa_ResizeWindowShape(SDL_Window *window);
1.31 +
1.32 +#endif