You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#ifndef FONTS_H
|
|
#define FONTS_H
|
|
|
|
#include "prerequisites.h"
|
|
#include "rect.h"
|
|
|
|
struct Font
|
|
{
|
|
|
|
Rect textureArea[256];
|
|
};
|
|
|
|
class Fonts
|
|
{
|
|
public:
|
|
Fonts();
|
|
~Fonts();
|
|
|
|
bool load();
|
|
|
|
private:
|
|
std::map<int, Font*> mFonts;
|
|
};
|
|
|
|
extern Fonts g_fonts;
|
|
|
|
#endif // FONTS_H
|