From 36527119ae021b317f8405c4cf40251ddcc037b9 Mon Sep 17 00:00:00 2001 From: pixel Date: Wed, 2 Apr 2003 16:49:55 +0000 Subject: Color fix --- include/mcolor.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/mcolor.h') 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; -- cgit v1.2.3