From 6086c135c793578b8d3dcd3307fa72e2df4eb583 Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Thu, 18 Jun 2009 23:08:25 +0300 Subject: [PATCH] Added missing MINFONTSIZE and MAXFONTSIZE defines. --- femonosd.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/femonosd.c b/femonosd.c index 0555cbc..624d32a 100644 --- a/femonosd.c +++ b/femonosd.c @@ -116,6 +116,14 @@ #define OSDCLEARINFO() \ m_Osd->DrawRectangle(0, OSDINFOWIN_Y(0), OSDWIDTH, OSDINFOWIN_Y(OSDINFOHEIGHT) - 1, clrTransparent) +#ifndef MINFONTSIZE +#define MINFONTSIZE 10 +#endif + +#ifndef MAXFONTSIZE +#define MAXFONTSIZE 64 +#endif + class cFemonDummyFont : public cFont { public: virtual int Width(uint c) const { return 10; }