src/video/SDL_shape_internals.h
changeset 12201 8bdc4d340419
parent 11811 5d94cb6b24d3
child 12503 806492103856
     1.1 --- a/src/video/SDL_shape_internals.h	Sat Aug 18 17:23:40 2018 -0400
     1.2 +++ b/src/video/SDL_shape_internals.h	Mon Sep 24 11:49:25 2018 -0700
     1.3 @@ -36,21 +36,21 @@
     1.4  #endif
     1.5  
     1.6  typedef struct {
     1.7 -	struct SDL_ShapeTree *upleft,*upright,*downleft,*downright;
     1.8 +    struct SDL_ShapeTree *upleft,*upright,*downleft,*downright;
     1.9  } SDL_QuadTreeChildren;
    1.10  
    1.11  typedef union {
    1.12 -	SDL_QuadTreeChildren children;
    1.13 -	SDL_Rect shape;
    1.14 +    SDL_QuadTreeChildren children;
    1.15 +    SDL_Rect shape;
    1.16  } SDL_ShapeUnion;
    1.17  
    1.18  typedef enum { QuadShape,TransparentShape,OpaqueShape } SDL_ShapeKind;
    1.19  
    1.20  typedef struct {
    1.21 -	SDL_ShapeKind kind;
    1.22 -	SDL_ShapeUnion data;
    1.23 +    SDL_ShapeKind kind;
    1.24 +    SDL_ShapeUnion data;
    1.25  } SDL_ShapeTree;
    1.26 -	
    1.27 +
    1.28  typedef void(*SDL_TraversalFunction)(SDL_ShapeTree*,void*);
    1.29  
    1.30  extern void SDL_CalculateShapeBitmap(SDL_WindowShapeMode mode,SDL_Surface *shape,Uint8* bitmap,Uint8 ppb);