summaryrefslogtreecommitdiff
path: root/ffont.h
diff options
context:
space:
mode:
authoranbr <vdr07@deltab.de>2011-05-22 19:08:46 +0200
committeranbr <vdr07@deltab.de>2011-05-22 19:08:46 +0200
commitacbdb1ddc238e7c0a942043b3d0d1d81bb701edd (patch)
treeaed8d1a4147bacf56cae5835dd876aff096f51c2 /ffont.h
parentd5a0dbd37d69eb3eb64b86c31ca834f88ab68f60 (diff)
downloadvdr-plugin-targavfd-0.1.0.tar.gz
vdr-plugin-targavfd-0.1.0.tar.bz2
Drop dependency to libhid, now is libusb-1.0 used0.1.0
Diffstat (limited to 'ffont.h')
-rw-r--r--ffont.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ffont.h b/ffont.h
index 186f207..a519b71 100644
--- a/ffont.h
+++ b/ffont.h
@@ -15,6 +15,7 @@
#ifndef __VFD_FONT_H___
#define __VFD_FONT_H___
+#include <vdr/config.h>
#include <vdr/font.h>
#include <ft2build.h>
#include FT_FREETYPE_H
@@ -66,6 +67,9 @@ private:
int Kerning(cVFDGlyph *Glyph, uint PrevSym) const;
cVFDGlyph* Glyph(uint CharCode) const;
virtual void DrawText(cBitmap*, int, int, const char*, tColor, tColor, int) const {};
+#if APIVERSNUM >= 10717
+ virtual void DrawText(cPixmap*, int, int, const char*, tColor, tColor, int) const {};
+#endif
public:
cVFDFont(const char *Name, int CharHeight, int CharWidth = 0);
virtual ~cVFDFont();