diff options
Diffstat (limited to 'menuitems.h')
-rw-r--r-- | menuitems.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/menuitems.h b/menuitems.h index ffe99570..2a30b465 100644 --- a/menuitems.h +++ b/menuitems.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menuitems.h 2.8 2012/03/13 11:19:11 kls Exp $ + * $Id: menuitems.h 3.1 2013/05/24 10:19:55 kls Exp $ */ #ifndef __MENUITEMS_H @@ -27,7 +27,7 @@ public: cMenuEditItem(const char *Name); ~cMenuEditItem(); void SetValue(const char *Value); - bool DisplayHelp(void); + bool DisplayHelp(bool Current); }; class cMenuEditIntItem : public cMenuEditItem { @@ -70,6 +70,17 @@ public: virtual eOSState ProcessKey(eKeys Key); }; +class cMenuEditIntxItem : public cMenuEditIntItem { +private: + int factor; + const char *negString, *posString; + void SetHelpKeys(void); + virtual void Set(void); +public: + cMenuEditIntxItem(const char *Name, int *Value, int Min = INT_MIN, int Max = INT_MAX, int Factor = 1, const char *NegString = NULL, const char *PosString = NULL); + virtual eOSState ProcessKey(eKeys Key); + }; + class cMenuEditPrcItem : public cMenuEditItem { protected: double *value; |