summaryrefslogtreecommitdiff
path: root/dvbapi.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-11-18 15:46:00 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2000-11-18 15:46:00 +0100
commitca42f7c8f144b2e342b9df821e3b841c7766bd05 (patch)
tree36a570851c57dc6c7ea9a91e3ea8793184ee9e32 /dvbapi.c
parent3e04208de3c7f29e69ff264b557c04074bb9b21c (diff)
downloadvdr-ca42f7c8f144b2e342b9df821e3b841c7766bd05.tar.gz
vdr-ca42f7c8f144b2e342b9df821e3b841c7766bd05.tar.bz2
Fixed font for system commands
Diffstat (limited to 'dvbapi.c')
-rw-r--r--dvbapi.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/dvbapi.c b/dvbapi.c
index dda8ae98..7df3b66a 100644
--- a/dvbapi.c
+++ b/dvbapi.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbapi.c 1.38 2000/11/18 13:46:46 kls Exp $
+ * $Id: dvbapi.c 1.39 2000/11/18 15:30:57 kls Exp $
*/
#include "dvbapi.h"
@@ -1632,6 +1632,15 @@ int cDvbApi::WidthInCells(const char *s)
#endif
}
+eDvbFont cDvbApi::SetFont(eDvbFont Font)
+{
+#ifdef DEBUG_OSD
+ return Font;
+#else
+ return osd->SetFont(Font);
+#endif
+}
+
void cDvbApi::Text(int x, int y, const char *s, eDvbColor colorFg, eDvbColor colorBg)
{
if (x < 0) x = cols + x;