blob: 99f1cec37003d48cdcf2003bf42cbb4303e6b0d2 (
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
28
|
/*
* $Id: font.h,v 1.2 2004/12/28 14:35:54 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,
int Width);
};
#endif // VDR_TEXT2SKIN_FONT_H
|