summaryrefslogtreecommitdiff
path: root/menuitems.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-08-21 11:02:52 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2013-08-21 11:02:52 +0200
commitcd10b439d0465afa6bce38188a4e9d8a5e74d859 (patch)
tree54480623232fb0e8e94fd37a5c9e31603301dd35 /menuitems.h
parent5b76eec1afbe435b5d1dfabaaa9546f8e400cba7 (diff)
downloadvdr-cd10b439d0465afa6bce38188a4e9d8a5e74d859.tar.gz
vdr-cd10b439d0465afa6bce38188a4e9d8a5e74d859.tar.bz2
Added basic support for positioners to control steerable satellite dishes
Diffstat (limited to 'menuitems.h')
-rw-r--r--menuitems.h15
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;