#ifndef __MCOLOR_H__ #define __MCOLOR_H__ #include #include namespace mogltk { class ColorP : public Base { public: 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; }; }; #endif