summaryrefslogtreecommitdiff
path: root/include/glfont.h
diff options
context:
space:
mode:
authorpixel <pixel>2002-12-17 00:09:50 +0000
committerpixel <pixel>2002-12-17 00:09:50 +0000
commitf0981aa6b09e67ec57b7cb92421513415292e97f (patch)
tree482ea3feccc16763733afaaaef36a9a81b55f6b1 /include/glfont.h
parentdd1e9ef7dd0d490f9397d524e1cfde13d6314623 (diff)
Commit of the day...
Diffstat (limited to 'include/glfont.h')
-rw-r--r--include/glfont.h10
1 files changed, 8 insertions, 2 deletions
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 <SDL.h>
#include <String.h>
#include <Color.h>
+#include <Handle.h>
#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;
};
};