Files
OpenArena/include/myglFont.h
Tom Hicks c16a0dae6d Changed: Renamed a few classes
Changed: Moved most sensible objects into the OpenArena namespace
~g2k
2005-06-29 11:33:11 -04:00

32 lines
532 B
C++

#ifndef __glPrint_h__
#define __glPrint_h__
#include "mygl.h"
namespace OpenArena
{
class Font
{
private:
short screenWidth;
short screenHeight;
unsigned int base;
unsigned int texture;
bool status;
public:
Font();
~Font();
bool BuildFont(const char*);
bool FreeFont();
void Print(int, int, const char*, unsigned int = 0);
bool Loaded();
void SetScreenDimensions(short, short);
void SetScreenWidth(short);
void SetScreenHeight(short);
short ScreenWidth();
short ScreenHeight();
};
};
#endif