diff options
author | pixel <pixel> | 2002-12-07 00:42:14 +0000 |
---|---|---|
committer | pixel <pixel> | 2002-12-07 00:42:14 +0000 |
commit | 11f44e36d5f02f8309fc463f9a2c6cd81b42c3ce (patch) | |
tree | e0daba1124a46dd6dc30150066324f62c6c9eedc /include/glfont.h | |
parent | 70ab3da408f5939fbfec4237e87f503ae82b2179 (diff) |
Whoups
Diffstat (limited to 'include/glfont.h')
-rw-r--r-- | include/glfont.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/glfont.h b/include/glfont.h new file mode 100644 index 0000000..de4ef63 --- /dev/null +++ b/include/glfont.h @@ -0,0 +1,25 @@ +#ifndef __GLFONT_H__ +#define __GLFONT_H__ + +#include <SDL.h> +#include <String.h> +#include <Color.h> +#include "gltexture.h" + +namespace mogltk { + class font : public Base { + public: + font(const String & = "font.bin"); + virtual ~font(); + void drawentry(Uint16, Color = Color(255, 255, 255), int = -1, int = -1); + + private: + Uint8 * sizes; + Uint16 nbentries, nbcT, nbT; + Uint8 flags, maxX, maxY, nbcU, nbcV; + texture ** fonttex; + Uint16 * corresp; + }; +}; + +#endif |