summaryrefslogtreecommitdiff
path: root/lib/font.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/font.cc')
-rw-r--r--lib/font.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/font.cc b/lib/font.cc
index efdd9bd..014abde 100644
--- a/lib/font.cc
+++ b/lib/font.cc
@@ -244,7 +244,7 @@ void mogltk::font::putentry(Uint16 entry, ColorP c) {
cx += sizes[entry] + wspace;
}
-void mogltk::font::putchar(char ch, ColorP c) {
+void mogltk::font::drawchar(char ch, ColorP c) {
Uint16 * p;
int i;
@@ -256,7 +256,7 @@ void mogltk::font::putchar(char ch, ColorP c) {
}
}
-int mogltk::font::getchar(char ch) const {
+int mogltk::font::findchar(char ch) const {
Uint16 * p;
int i;
@@ -289,7 +289,7 @@ int mogltk::font::printf(const ugly_string & m, va_list ap) {
if (*p == '\n') {
newline();
} else {
- putchar(*p, textcolor);
+ drawchar(*p, textcolor);
}
}
@@ -338,7 +338,7 @@ int mogltk::font::singletextsize(const String & s) const {
int r = 0;
for (i = 0; i < s.strlen(); i++) {
- r += sizes[getchar(s[i])];
+ r += sizes[findchar(s[i])];
}
return r;