summaryrefslogtreecommitdiff
path: root/include/mcolor.h
diff options
context:
space:
mode:
authorpixel <pixel>2003-04-02 16:49:55 +0000
committerpixel <pixel>2003-04-02 16:49:55 +0000
commit36527119ae021b317f8405c4cf40251ddcc037b9 (patch)
tree330c16cf3e0cdc8f48a43aed6e25fb3b1b5d5259 /include/mcolor.h
parente834c4110af138f8fd4c485999a8294883dbcb0e (diff)
Color fix
Diffstat (limited to 'include/mcolor.h')
-rw-r--r--include/mcolor.h5
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;