summaryrefslogtreecommitdiff
path: root/font.h
blob: 160076cebf6914a1a29427b532d7226300320811 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * $Id: font.h,v 1.5 2004/12/08 17:23:41 lordjaxom Exp $
 */

#ifndef VDR_TEXT2SKIN_FONT_H
#define VDR_TEXT2SKIN_FONT_H

#include "common.h"
#ifdef HAVE_FREETYPE
#	include "graphtft/font.h"
#endif

class cText2SkinFont {
private:
#ifdef HAVE_FREETYPE
	static cGraphtftFont mFontCache;
#endif

	// disallow direct construction
	cText2SkinFont(void);
	virtual ~cText2SkinFont();

public:
	static const cFont *Load(const std::string &Path, const std::string &Filename, int Size);
};

#endif // VDR_TEXT2SKIN_FONT_H