summaryrefslogtreecommitdiff
path: root/include/font.h
diff options
context:
space:
mode:
authorpixel <pixel>2003-03-28 12:30:26 +0000
committerpixel <pixel>2003-03-28 12:30:26 +0000
commit541c00c93fcd98f766cce661aa83ef4ffe713e57 (patch)
tree2300eff5c56164578988d4f4d57147c60657c7ad /include/font.h
parentbe0486797260377246c1ea1229cca27c19c64ad2 (diff)
First part of the backend separation
Diffstat (limited to 'include/font.h')
-rw-r--r--include/font.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/include/font.h b/include/font.h
index fcc2e03..3377ef0 100644
--- a/include/font.h
+++ b/include/font.h
@@ -5,8 +5,8 @@
#include <stdarg.h>
#include <BString.h>
#include <Handle.h>
-#include <gltexture.h>
-#include <glcolor.h>
+#include <texture.h>
+#include <mcolor.h>
namespace mogltk {
class font : public Base {
@@ -31,12 +31,14 @@ namespace mogltk {
Uint8 * sizes;
Uint16 nbentries, nbcT, nbT;
Uint8 flags, maxX, maxY, nbcU, nbcV, base, inter;
- texture ** fonttex;
- Uint16 * corresp;
int cx, cy, ox;
ColorP textcolor;
int shadow, wspace;
- virtual texture * alloctexture();
+ texture * alloctexture();
+ void Bind(int);
+ private:
+ texture ** fonttex;
+ Uint16 * corresp;
};
extern font * SystemFont;
};