diff options
Diffstat (limited to 'menuitems.h')
-rw-r--r-- | menuitems.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/menuitems.h b/menuitems.h index 0170f9b..18cb0ca 100644 --- a/menuitems.h +++ b/menuitems.h @@ -10,6 +10,7 @@ #ifndef __MENUITEMS_H #define __MENUITEMS_H +#include <stdint.h> #include <limits.h> #include "osdbase.h" @@ -35,6 +36,17 @@ public: virtual eOSState ProcessKey(eKeys Key); }; +class cMenuEditInt64Item : public cMenuEditItem { +protected: + int64_t *value; + int64_t min, max; + const char *minString, *maxString; + virtual void Set(void); +public: + cMenuEditInt64Item(const char *Name, int64_t *Value, int64_t Min = 0, int64_t Max = 9223372036854775807LL, const char *MinString = NULL, const char *MaxString = NULL); + virtual eOSState ProcessKey(eKeys Key); + }; + class cMenuEditBoolItem : public cMenuEditIntItem { protected: const char *falseString, *trueString; |