include/SDL_video.h
changeset 911 04a403e4ccf5
parent 769 b8d311d90021
child 1020 5b1cb1e9140d
     1.1 --- a/include/SDL_video.h	Sun Jul 18 19:46:38 2004 +0000
     1.2 +++ b/include/SDL_video.h	Sun Jul 18 22:57:40 2004 +0000
     1.3 @@ -47,12 +47,12 @@
     1.4  #define SDL_ALPHA_TRANSPARENT 0
     1.5  
     1.6  /* Useful data types */
     1.7 -typedef struct {
     1.8 +typedef struct SDL_Rect {
     1.9  	Sint16 x, y;
    1.10  	Uint16 w, h;
    1.11  } SDL_Rect;
    1.12  
    1.13 -typedef struct {
    1.14 +typedef struct SDL_Color {
    1.15  	Uint8 r;
    1.16  	Uint8 g;
    1.17  	Uint8 b;
    1.18 @@ -60,7 +60,7 @@
    1.19  } SDL_Color;
    1.20  #define SDL_Colour SDL_Color
    1.21  
    1.22 -typedef struct {
    1.23 +typedef struct SDL_Palette {
    1.24  	int       ncolors;
    1.25  	SDL_Color *colors;
    1.26  } SDL_Palette;
    1.27 @@ -154,7 +154,7 @@
    1.28  
    1.29  
    1.30  /* Useful for determining the video hardware capabilities */
    1.31 -typedef struct {
    1.32 +typedef struct SDL_VideoInfo {
    1.33  	Uint32 hw_available :1;	/* Flag: Can you create hardware surfaces? */
    1.34  	Uint32 wm_available :1;	/* Flag: Can you talk to a window manager? */
    1.35  	Uint32 UnusedBits1  :6;