summaryrefslogtreecommitdiff
path: root/lib/glfont.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/glfont.cc')
-rw-r--r--lib/glfont.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/glfont.cc b/lib/glfont.cc
index 5cb1646..d8dbb5b 100644
--- a/lib/glfont.cc
+++ b/lib/glfont.cc
@@ -160,7 +160,7 @@ mogltk::font::~font() {
free(sizes);
}
-void mogltk::font::drawentry(Uint16 entry, int x, int y, Color c) {
+void mogltk::font::drawentry(Uint16 entry, int x, int y, ColorP c) {
bool was2D;
int trueentry, cx, cy, px, py;
@@ -208,12 +208,12 @@ void mogltk::font::putcursor(int x, int y) {
cy = y;
}
-void mogltk::font::putentry(Uint16 entry, Color c) {
+void mogltk::font::putentry(Uint16 entry, ColorP c) {
drawentry(entry, cx, cy, c);
cx += sizes[entry];
}
-void mogltk::font::putchar(char ch, Color c) {
+void mogltk::font::putchar(char ch, ColorP c) {
Uint16 * p;
int i;
@@ -290,7 +290,7 @@ int mogltk::font::printf(const char * p, ...) {
return r;
}
-void mogltk::font::setcolor(Color c) {
+void mogltk::font::setcolor(ColorP c) {
textcolor = c;
}