diff options
author | pixel <pixel> | 2003-03-14 13:36:40 +0000 |
---|---|---|
committer | pixel <pixel> | 2003-03-14 13:36:40 +0000 |
commit | 2ef9753588b02155faf8bc5a176e4fcf7489dae2 (patch) | |
tree | eaa482c393ca29af35350fd033570989f1fcaff8 /lib/glfont.cc | |
parent | 700cd603a7ceced2fe8b6a064330d6f88d278dce (diff) |
glcolor, first episode
Diffstat (limited to 'lib/glfont.cc')
-rw-r--r-- | lib/glfont.cc | 8 |
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; } |