summaryrefslogtreecommitdiff
path: root/includes/glfont.h
diff options
context:
space:
mode:
authorpixel <pixel>2002-11-16 00:35:22 +0000
committerpixel <pixel>2002-11-16 00:35:22 +0000
commit04b1d5b77ec28aa74dc3aea7368f661221bdcb24 (patch)
tree1116a403202ece4c6060ba1549e892389482a9d8 /includes/glfont.h
parentd67b7a1fdb23fdd349af4514db3fd94dbae7ef9c (diff)
Bleh
Diffstat (limited to 'includes/glfont.h')
-rw-r--r--includes/glfont.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/includes/glfont.h b/includes/glfont.h
index 502ff49..831da5e 100644
--- a/includes/glfont.h
+++ b/includes/glfont.h
@@ -1,17 +1,24 @@
#ifndef __GLFONT_H__
#define __GLFONT_H__
-#include "Exceptions.h"
+#include <SDL.h>
+#include "String.h"
#include "gltexture.h"
+#include "Color.h"
namespace mogltk {
- class glfont : public Base {
+ class font : public Base {
public:
- glfont();
- virtual ~glfont();
- void Load(const String &) throw (GeneralException);
+ font(const String & = "font.bin");
+ virtual ~font();
+ void drawentry(Uint16, Color = Color(255, 255, 255), int = -1, int = -1);
+
private:
- gltexture * fonttex;
+ Uint8 * sizes;
+ Uint16 nbentries, nbcT, nbT;
+ Uint8 flags, maxX, maxY, nbcU, nbcV;
+ texture ** fonttex;
+ Uint16 * corresp;
};
};