mirror of
https://github.com/PCSX2/pcsx2.git
synced 2025-04-02 10:52:54 -04:00
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2897 96395faa-99c1-11dd-bbfe-3dabce05a288
22 lines
440 B
C++
22 lines
440 B
C++
#ifndef RasterFont_Header
|
|
#define RasterFont_Header
|
|
|
|
class RasterFont {
|
|
protected:
|
|
int fontOffset;
|
|
|
|
public:
|
|
RasterFont();
|
|
~RasterFont(void);
|
|
static int debug;
|
|
|
|
// some useful constants
|
|
enum {char_width = 10};
|
|
enum {char_height = 15};
|
|
|
|
// and the happy helper functions
|
|
void printString(const char *s, double x, double y, double z=0.0);
|
|
void printCenteredString(const char *s, double y, int screen_width, double z=0.0);
|
|
};
|
|
|
|
#endif
|