src/video/SDL_shape_internals.h
changeset 4837 2e446923c9fb
parent 4830 3dfe779900f5
child 4850 14870d46ee2d
equal deleted inserted replaced
4836:7eb8ca721a5b 4837:2e446923c9fb
    53 } SDL_ShapeTree;
    53 } SDL_ShapeTree;
    54 	
    54 	
    55 typedef void(*SDL_TraversalFunction)(SDL_ShapeTree*,void*);
    55 typedef void(*SDL_TraversalFunction)(SDL_ShapeTree*,void*);
    56 
    56 
    57 extern void SDL_CalculateShapeBitmap(SDL_WindowShapeMode mode,SDL_Surface *shape,Uint8* bitmap,Uint8 ppb);
    57 extern void SDL_CalculateShapeBitmap(SDL_WindowShapeMode mode,SDL_Surface *shape,Uint8* bitmap,Uint8 ppb);
    58 extern SDL_ShapeTree* SDL_CalculateShapeTree(SDL_WindowShapeMode mode,SDL_Surface* shape,SDL_bool invert);
    58 extern SDL_ShapeTree* SDL_CalculateShapeTree(SDL_WindowShapeMode mode,SDL_Surface* shape);
    59 extern void SDL_TraverseShapeTree(SDL_ShapeTree *tree,SDL_TraversalFunction function,void* closure);
    59 extern void SDL_TraverseShapeTree(SDL_ShapeTree *tree,SDL_TraversalFunction function,void* closure);
    60 extern void SDL_FreeShapeTree(SDL_ShapeTree** shapeTree);
    60 extern void SDL_FreeShapeTree(SDL_ShapeTree** shapeTree);
    61 
    61 
    62 /* Ends C function definitions when using C++ */
    62 /* Ends C function definitions when using C++ */
    63 #ifdef __cplusplus
    63 #ifdef __cplusplus