mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-06 18:06:26 +00:00
SDL_shape_internals.h: forward-declare struct SDL_ShapeTree.
This commit is contained in:
@@ -35,6 +35,8 @@ extern "C" {
|
|||||||
/* *INDENT-ON* */
|
/* *INDENT-ON* */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
struct SDL_ShapeTree;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
struct SDL_ShapeTree *upleft,*upright,*downleft,*downright;
|
struct SDL_ShapeTree *upleft,*upright,*downleft,*downright;
|
||||||
} SDL_QuadTreeChildren;
|
} SDL_QuadTreeChildren;
|
||||||
@@ -46,7 +48,7 @@ typedef union {
|
|||||||
|
|
||||||
typedef enum { QuadShape,TransparentShape,OpaqueShape } SDL_ShapeKind;
|
typedef enum { QuadShape,TransparentShape,OpaqueShape } SDL_ShapeKind;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct SDL_ShapeTree {
|
||||||
SDL_ShapeKind kind;
|
SDL_ShapeKind kind;
|
||||||
SDL_ShapeUnion data;
|
SDL_ShapeUnion data;
|
||||||
} SDL_ShapeTree;
|
} SDL_ShapeTree;
|
||||||
|
Reference in New Issue
Block a user