diff options
| author | pixel <pixel> | 2003-04-02 16:49:55 +0000 | 
|---|---|---|
| committer | pixel <pixel> | 2003-04-02 16:49:55 +0000 | 
| commit | 36527119ae021b317f8405c4cf40251ddcc037b9 (patch) | |
| tree | 330c16cf3e0cdc8f48a43aed6e25fb3b1b5d5259 /include/mcolor.h | |
| parent | e834c4110af138f8fd4c485999a8294883dbcb0e (diff) | |
Color fix
Diffstat (limited to 'include/mcolor.h')
| -rw-r--r-- | include/mcolor.h | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/include/mcolor.h b/include/mcolor.h index 88ca27f..1202572 100644 --- a/include/mcolor.h +++ b/include/mcolor.h @@ -7,10 +7,13 @@  namespace mogltk {      class ColorP : public Base {        public: -          ColorP(const Color &); +          ColorP(const Color & = WHITE);  	  ColorP(Uint8, Uint8, Uint8, Uint8); +	bool operator==(const ColorP &);  	void Bind(); +	void Norm();  	Uint32 toSDL(SDL_PixelFormat * = 0); +	void fromSDL(Uint32, SDL_PixelFormat * = 0);  	static Color Min;  	static Color Max;          Color c; | 
