diff options
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; |