summaryrefslogtreecommitdiff
path: root/menuitems.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-04-09 12:05:05 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-04-09 12:05:05 +0200
commite36da7ab8d9d1da0eb2911cd229070de555c485b (patch)
tree64887b16d8dd77f68f1f2bbf5f8d810664dabe7f /menuitems.h
parent060c3f3ddc01a2939d2d152cabe99135a8819cad (diff)
downloadvdr-e36da7ab8d9d1da0eb2911cd229070de555c485b.tar.gz
vdr-e36da7ab8d9d1da0eb2911cd229070de555c485b.tar.bz2
Additional label strings for cMenuEditIntItem and cMenuEditChanItem
Diffstat (limited to 'menuitems.h')
-rw-r--r--menuitems.h8
1 files changed, 5 insertions, 3 deletions
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);
};