From c00cd54ca5ed959cbccff7aa7261fb5025d1832c Mon Sep 17 00:00:00 2001 From: pixel Date: Wed, 26 Mar 2003 14:07:43 +0000 Subject: bleh --- include/glfont.h | 35 +++++------------------------------ 1 file changed, 5 insertions(+), 30 deletions(-) (limited to 'include/glfont.h') diff --git a/include/glfont.h b/include/glfont.h index 87efd12..b8663d7 100644 --- a/include/glfont.h +++ b/include/glfont.h @@ -2,43 +2,18 @@ #define __GLFONT_H__ #include -#include -#include -#include -#include -#include +#include "font.h" namespace mogltk { - class font : public Base { + class glfont : public font { public: - font(Handle *); - virtual ~font(); - void drawentry(Uint16, int, int, ColorP = WHITE); - void putcursor(int, int); - void putentry(Uint16, ColorP = WHITE); - void putchar(char, ColorP = WHITE); - void newline(void); - int printf(const ugly_string &, ...); - int printf(const char *, ...); - int printf(const ugly_string &, va_list); - void setcolor(ColorP); - void setshadow(int); - void setwspace(int); - int getchar(char) const; - int singletextsize(const String &) const; + glfont(Handle *); + virtual ~glfont(); + void drawentry(Uint16, int, int, glColorP = WHITE); private: - Uint8 * sizes; - Uint16 nbentries, nbcT, nbT; - Uint8 flags, maxX, maxY, nbcU, nbcV, base, inter; - texture ** fonttex; - Uint16 * corresp; void Bind(int); - int cx, cy, ox; - ColorP textcolor; - int shadow, wspace; }; - extern font * SystemFont; }; #endif -- cgit v1.2.3