From f0981aa6b09e67ec57b7cb92421513415292e97f Mon Sep 17 00:00:00 2001 From: pixel Date: Tue, 17 Dec 2002 00:09:50 +0000 Subject: Commit of the day... --- include/glfont.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'include/glfont.h') diff --git a/include/glfont.h b/include/glfont.h index de4ef63..cbff848 100644 --- a/include/glfont.h +++ b/include/glfont.h @@ -4,14 +4,18 @@ #include #include #include +#include #include "gltexture.h" namespace mogltk { class font : public Base { public: - font(const String & = "font.bin"); + font(Handle *); virtual ~font(); - void drawentry(Uint16, Color = Color(255, 255, 255), int = -1, int = -1); + void drawentry(Uint16, int, int, Color = Color(255, 255, 255, 255)); + void putcursor(int, int); + void putentry(Uint16, Color = Color(255, 255, 255, 255)); + void newline(void); private: Uint8 * sizes; @@ -19,6 +23,8 @@ namespace mogltk { Uint8 flags, maxX, maxY, nbcU, nbcV; texture ** fonttex; Uint16 * corresp; + void Bind(int); + int cx, cy, ox; }; }; -- cgit v1.2.3