From e36da7ab8d9d1da0eb2911cd229070de555c485b Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 9 Apr 2006 12:05:05 +0200 Subject: Additional label strings for cMenuEditIntItem and cMenuEditChanItem --- menuitems.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'menuitems.h') diff --git a/menuitems.h b/menuitems.h index 38c98b6f..f993e6cf 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 1.18 2006/03/31 15:12:42 kls Exp $ + * $Id: menuitems.h 1.19 2006/04/09 12:05:05 kls Exp $ */ #ifndef __MENUITEMS_H @@ -28,9 +28,10 @@ class cMenuEditIntItem : public cMenuEditItem { protected: int *value; int min, max; + const char *minString, *maxString; virtual void Set(void); public: - cMenuEditIntItem(const char *Name, int *Value, int Min = 0, int Max = INT_MAX); + cMenuEditIntItem(const char *Name, int *Value, int Min = 0, int Max = INT_MAX, const char *MinString = NULL, const char *MaxString = NULL); virtual eOSState ProcessKey(eKeys Key); }; @@ -110,9 +111,10 @@ public: class cMenuEditChanItem : public cMenuEditIntItem { protected: + const char *noneString; virtual void Set(void); public: - cMenuEditChanItem(const char *Name, int *Value); + cMenuEditChanItem(const char *Name, int *Value, const char *NoneString = NULL); virtual eOSState ProcessKey(eKeys Key); }; -- cgit v1.2.3