summaryrefslogtreecommitdiff
path: root/osd.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-11-24 10:45:39 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-11-24 10:45:39 +0100
commit08e4f36ccdee163b6925f09f591fbc8ce8c2611b (patch)
tree89289f25cee0ef8cfa03f4bd24de96e302971875 /osd.h
parente3a8fb1065b3ee38ec722d8a58179cbac94aa2d8 (diff)
downloadvdr-08e4f36ccdee163b6925f09f591fbc8ce8c2611b.tar.gz
vdr-08e4f36ccdee163b6925f09f591fbc8ce8c2611b.tar.bz2
Plugins can now have their own raw OSD
Diffstat (limited to 'osd.h')
-rw-r--r--osd.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/osd.h b/osd.h
index 9fb515b4..2cd2f4bf 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.36 2002/11/10 12:28:57 kls Exp $
+ * $Id: osd.h 1.37 2002/11/24 10:32:29 kls Exp $
*/
#ifndef __OSD_H
@@ -110,14 +110,19 @@ public:
};
class cOsdObject {
+ friend class cOsdMenu;
+private:
+ bool isMenu;
protected:
bool needsFastResponse;
public:
- cOsdObject(bool FastResponse = false) { needsFastResponse = FastResponse; }
+ cOsdObject(bool FastResponse = false) { isMenu = false; needsFastResponse = FastResponse; }
virtual ~cOsdObject() {}
int Width(void) { return Interface->Width(); }
int Height(void) { return Interface->Height(); }
bool NeedsFastResponse(void) { return needsFastResponse; }
+ bool IsMenu(void) { return isMenu; }
+ virtual void Show(void) {}
virtual eOSState ProcessKey(eKeys Key) { return osUnknown; }
};