summaryrefslogtreecommitdiff
path: root/osd.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-11-01 11:45:05 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2000-11-01 11:45:05 +0100
commit25f085cc267760a43d2294406d3fdd6d14dc6e7f (patch)
tree2356c8ce7371ef124acfc01c999549bd2ad3d388 /osd.h
parent10741c4c5447f042bdf365f36b258f2f7a2e5d39 (diff)
downloadvdr-25f085cc267760a43d2294406d3fdd6d14dc6e7f.tar.gz
vdr-25f085cc267760a43d2294406d3fdd6d14dc6e7f.tar.bz2
Improved Schedules menus
Diffstat (limited to 'osd.h')
-rw-r--r--osd.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/osd.h b/osd.h
index 5e2ad300..2b9359a6 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.12 2000/10/28 09:32:59 kls Exp $
+ * $Id: osd.h 1.13 2000/11/01 11:20:15 kls Exp $
*/
#ifndef __OSD_H
@@ -50,7 +50,7 @@ public:
void SetText(const char *Text, bool Copy = true);
void SetColor(eDvbColor FgColor, eDvbColor BgColor = clrBackground);
const char *Text(void) { return text; }
- void Display(int Offset = -1, eDvbColor FgColor = clrWhite, eDvbColor BgColor = clrBackground);
+ virtual void Display(int Offset = -1, eDvbColor FgColor = clrWhite, eDvbColor BgColor = clrBackground);
virtual void Set(void) {}
virtual eOSState ProcessKey(eKeys Key);
};
@@ -90,6 +90,8 @@ protected:
public:
cOsdMenu(const char *Title, int c0 = 0, int c1 = 0, int c2 = 0, int c3 = 0, int c4 = 0);
virtual ~cOsdMenu();
+ int Width(void) { return Interface->Width(); }
+ int Height(void) { return Interface->Height(); }
int Current(void) { return current; }
void Add(cOsdItem *Item, bool Current = false);
void Display(void);