Mercurial > sdl-ios-xcode
comparison src/video/SDL_shape_internals.h @ 4850:14870d46ee2d
Mostly seem to have fixed SDL_CalculateShapeTree. Mostly. There still seem to be some rendering artifacts, stepping effects, and such on Windows -- which indicates subtle logic errors in SDL_CalculateShapeTree().
Oh well, back into the salt mine.
author | egottlieb |
---|---|
date | Sat, 14 Aug 2010 20:29:51 -0400 |
parents | 2e446923c9fb |
children |
comparison
equal
deleted
inserted
replaced
4849:0b918c186938 | 4850:14870d46ee2d |
---|---|
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); | 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** shape_tree); |
61 | 61 |
62 /* Ends C function definitions when using C++ */ | 62 /* Ends C function definitions when using C++ */ |
63 #ifdef __cplusplus | 63 #ifdef __cplusplus |
64 /* *INDENT-OFF* */ | 64 /* *INDENT-OFF* */ |
65 } | 65 } |