summaryrefslogtreecommitdiff
path: root/osd.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-05-18 12:41:18 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-05-18 12:41:18 +0200
commit3e5b31af5e88bc4e43971a70b5add6f67cebb701 (patch)
treeaba62ea0b1ba467df4b938420518f09bbb9900c8 /osd.h
parent4da8a8e0666b3bfc1eac21aaf6a3aa66db02578c (diff)
downloadvdr-3e5b31af5e88bc4e43971a70b5add6f67cebb701.tar.gz
vdr-3e5b31af5e88bc4e43971a70b5add6f67cebb701.tar.bz2
Rearranged OSD class names to make 'cOsd' available for the main OSD interface
Diffstat (limited to 'osd.h')
-rw-r--r--osd.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/osd.h b/osd.h
index afd44859..174bf099 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.29 2002/05/12 11:19:22 kls Exp $
+ * $Id: osd.h 1.30 2002/05/18 12:36:30 kls Exp $
*/
#ifndef __OSD_H
@@ -69,19 +69,19 @@ public:
virtual eOSState ProcessKey(eKeys Key);
};
-class cOsdBase {
+class cOsdObject {
protected:
bool needsFastResponse;
public:
- cOsdBase(bool FastResponse = false) { needsFastResponse = FastResponse; }
- virtual ~cOsdBase() {}
+ cOsdObject(bool FastResponse = false) { needsFastResponse = FastResponse; }
+ virtual ~cOsdObject() {}
int Width(void) { return Interface->Width(); }
int Height(void) { return Interface->Height(); }
bool NeedsFastResponse(void) { return needsFastResponse; }
virtual eOSState ProcessKey(eKeys Key) = 0;
};
-class cOsdMenu : public cOsdBase, public cList<cOsdItem> {
+class cOsdMenu : public cOsdObject, public cList<cOsdItem> {
private:
char *title;
int cols[cInterface::MaxCols];