summaryrefslogtreecommitdiff
path: root/osd.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-07-13 12:47:06 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-07-13 12:47:06 +0200
commit5fb0a0ed1841e3825f73244af02864cc899f3e24 (patch)
tree8d945d5273934e8a5ef36ab02556d8fb943d80f9 /osd.h
parentf2b637ed852c81301ea1f64692447733745ffa06 (diff)
downloadvdr-5fb0a0ed1841e3825f73244af02864cc899f3e24.tar.gz
vdr-5fb0a0ed1841e3825f73244af02864cc899f3e24.tar.bz2
Added cOsd::OpenRaw() to create a raw OSD (needed for displaying SPUs)
Diffstat (limited to 'osd.h')
-rw-r--r--osd.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/osd.h b/osd.h
index c0621577..dac4b27e 100644
--- a/osd.h
+++ b/osd.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: osd.h 1.32 2002/06/23 09:13:17 kls Exp $
+ * $Id: osd.h 1.33 2002/07/13 12:47:06 kls Exp $
*/
#ifndef __OSD_H
@@ -14,7 +14,7 @@
#include <ncurses.h>
#endif
#include "config.h"
-#include "dvbosd.h"
+#include "osdbase.h"
#include "interface.h"
#include "osdbase.h"
#include "tools.h"
@@ -62,12 +62,16 @@ private:
static int colorPairs[MaxColorPairs];
static void SetColor(eDvbColor colorFg, eDvbColor colorBg = clrBackground);
#else
- static cDvbOsd *osd;
+ static cOsdBase *osd;
#endif
static int cols, rows;
public:
static void Initialize(void);
static void Shutdown(void);
+ static cOsdBase *OpenRaw(int x, int y);
+ // Returns a raw OSD without any predefined windows or colors.
+ // If the "normal" OSD is currently in use, NULL will be returned.
+ // The caller must delete this object before the "normal" OSD is used again!
static void Open(int w, int h);
static void Close(void);
static void Clear(void);