summaryrefslogtreecommitdiff
path: root/osd.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-02-03 15:28:49 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2001-02-03 15:28:49 +0100
commit7f6a2a7a0c001c425efdab381914e7c297f61166 (patch)
tree044a9b08d0aef5e2aa997a1f8e2a659ef552f82f /osd.h
parentcaa96c00eaecd5f0c67f0575468dd088f2c8ee1e (diff)
downloadvdr-7f6a2a7a0c001c425efdab381914e7c297f61166.tar.gz
vdr-7f6a2a7a0c001c425efdab381914e7c297f61166.tar.bz2
Implemented hotkeys for Main and Commands menu
Diffstat (limited to 'osd.h')
-rw-r--r--osd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/osd.h b/osd.h
index 10b07147..c0fb1a1e 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.19 2001/02/03 14:14:23 kls Exp $
+ * $Id: osd.h 1.20 2001/02/03 15:13:59 kls Exp $
*/
#ifndef __OSD_H
@@ -77,6 +77,7 @@ private:
cOsdMenu *subMenu;
const char *helpRed, *helpGreen, *helpYellow, *helpBlue;
const char *status;
+ bool hasHotkeys;
protected:
bool visible;
virtual void Clear(void);
@@ -88,6 +89,7 @@ protected:
void PageUp(void);
void PageDown(void);
void Mark(void);
+ eOSState HotKey(eKeys Key);
eOSState AddSubMenu(cOsdMenu *SubMenu);
bool HasSubMenu(void) { return subMenu; }
void SetStatus(const char *s);
@@ -97,6 +99,7 @@ protected:
public:
cOsdMenu(const char *Title, int c0 = 0, int c1 = 0, int c2 = 0, int c3 = 0, int c4 = 0);
virtual ~cOsdMenu();
+ void SetHasHotkeys(void) { hasHotkeys = true; }
int Current(void) { return current; }
void Add(cOsdItem *Item, bool Current = false);
void Display(void);