Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

Color.h

Go to the documentation of this file.
00001 #ifndef HEADER_COLOR_H
00002 #define HEADER_COLOR_H
00003 
00004 #include "SDL.h"
00005 
00006 /**
00007  * Constructor for SDL_Color.
00008  */
00009 class Color : public SDL_Color {
00010     public:
00011         Color(Uint8 red, Uint8 green, Uint8 blue, Uint8 alpha=255)
00012         {
00013             this->r = red;
00014             this->g = green;
00015             this->b = blue;
00016             this->unused = alpha;
00017         }
00018 };
00019 
00020 #endif

Generated on Wed Jun 1 09:54:30 2005 for Fish Fillets - Next Generation by  doxygen 1.4.2