diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-03-16 10:03:04 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-03-16 10:03:04 +0100 |
commit | d9cfa43d8529ea9422771d5cd744d5e20a3b5c93 (patch) | |
tree | 5ff8bb2011c37f4551cd18c16c054e204168be52 /osd.h | |
parent | f9a3885ef2d21cef30180f2a90a0a305981a27c6 (diff) | |
download | vdr-d9cfa43d8529ea9422771d5cd744d5e20a3b5c93.tar.gz vdr-d9cfa43d8529ea9422771d5cd744d5e20a3b5c93.tar.bz2 |
Grouped the Setup parameters into several sub-menus
Diffstat (limited to 'osd.h')
-rw-r--r-- | osd.h | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -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); |