summaryrefslogtreecommitdiff
path: root/osd.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-08-25 09:36:09 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-08-25 09:36:09 +0200
commitc6ed4da7a0e8d9bf5664ba2c4282e3c6cb6d7932 (patch)
treeaef8dad67f4e01f6655e0e189af7af1576e038af /osd.c
parentdf5be87dc3aa8a94990dcc387729c551fb14a3db (diff)
downloadvdr-c6ed4da7a0e8d9bf5664ba2c4282e3c6cb6d7932.tar.gz
vdr-c6ed4da7a0e8d9bf5664ba2c4282e3c6cb6d7932.tar.bz2
Added cDevice::NewOsd() to allow a derived cDevice class to implement its own OSD capabilities
Diffstat (limited to 'osd.c')
-rw-r--r--osd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/osd.c b/osd.c
index 58caf68c..a2daf603 100644
--- a/osd.c
+++ b/osd.c
@@ -4,13 +4,12 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: osd.c 1.34 2002/08/15 11:20:44 kls Exp $
+ * $Id: osd.c 1.35 2002/08/25 09:18:31 kls Exp $
*/
#include "osd.h"
#include <string.h>
#include "device.h"
-#include "dvbosd.h"
#include "i18n.h"
#include "status.h"
@@ -73,7 +72,7 @@ cOsdBase *cOsd::OpenRaw(int x, int y)
#ifdef DEBUG_OSD
return NULL;
#else
- return osd ? NULL : new cDvbOsd(x, y);
+ return osd ? NULL : cDevice::PrimaryDevice()->NewOsd(x, y);
#endif
}