summaryrefslogtreecommitdiff
path: root/lib/mcolor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mcolor.cc')
-rw-r--r--lib/mcolor.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/mcolor.cc b/lib/mcolor.cc
new file mode 100644
index 0000000..91c8a1d
--- /dev/null
+++ b/lib/mcolor.cc
@@ -0,0 +1,10 @@
+#include <SDL.h>
+#include "mcolor.h"
+
+Color mogltk::ColorP::Min(0, 0, 0, 0), mogltk::ColorP::Max = WHITE;
+
+mogltk::ColorP::ColorP(const Color & ac) : c(ac) {
+}
+
+mogltk::ColorP::ColorP(Uint8 ar, Uint8 ag, Uint8 ab, Uint8 aa) : c(ar, ag, ab, aa) {
+}