summaryrefslogtreecommitdiff
path: root/osd.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-03-16 10:03:04 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-03-16 10:03:04 +0100
commitd9cfa43d8529ea9422771d5cd744d5e20a3b5c93 (patch)
tree5ff8bb2011c37f4551cd18c16c054e204168be52 /osd.h
parentf9a3885ef2d21cef30180f2a90a0a305981a27c6 (diff)
downloadvdr-d9cfa43d8529ea9422771d5cd744d5e20a3b5c93.tar.gz
vdr-d9cfa43d8529ea9422771d5cd744d5e20a3b5c93.tar.bz2
Grouped the Setup parameters into several sub-menus
Diffstat (limited to 'osd.h')
-rw-r--r--osd.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/osd.h b/osd.h
index 4eb2a22d..8e825869 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.26 2002/02/24 12:55:16 kls Exp $
+ * $Id: osd.h 1.27 2002/03/10 16:18:11 kls Exp $
*/
#ifndef __OSD_H
@@ -33,6 +33,16 @@ enum eOSState { osUnknown,
osSwitchDvb,
osBack,
osEnd,
+ os_User, // the following values can be used locally
+ osUser1,
+ osUser2,
+ osUser3,
+ osUser4,
+ osUser5,
+ osUser6,
+ osUser7,
+ osUser8,
+ osUser9,
};
class cOsdItem : public cListObject {
@@ -77,9 +87,12 @@ private:
cOsdMenu *subMenu;
const char *helpRed, *helpGreen, *helpYellow, *helpBlue;
const char *status;
+ int digit;
bool hasHotkeys;
protected:
bool visible;
+ const char *hk(const char *s);
+ void SetHasHotkeys(void);
virtual void Clear(void);
bool SpecialItem(int idx);
void SetCurrent(cOsdItem *Item);
@@ -100,7 +113,6 @@ 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);