summaryrefslogtreecommitdiff
path: root/menuitems.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-01-03 12:50:58 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-01-03 12:50:58 +0100
commit1f44f9adc25120b2eac99dc3fc17a0a1f09bb928 (patch)
tree4db21a5f0aa0b1dd4690bdbdebb58574def9bada /menuitems.h
parenta9eed7bb7c6e5d92fe9be1d4aa090d17e971ab75 (diff)
downloadvdr-1f44f9adc25120b2eac99dc3fc17a0a1f09bb928.tar.gz
vdr-1f44f9adc25120b2eac99dc3fc17a0a1f09bb928.tar.bz2
Added cMenuEditStrItem::InEditMode()
Diffstat (limited to 'menuitems.h')
-rw-r--r--menuitems.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/menuitems.h b/menuitems.h
index f9afc151..c54f147e 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.12 2005/11/11 13:26:51 kls Exp $
+ * $Id: menuitems.h 1.13 2006/01/03 12:45:38 kls Exp $
*/
#ifndef __MENUITEMS_H
@@ -85,6 +85,8 @@ private:
void SetHelpKeys(void);
virtual void Set(void);
char Inc(char c, bool Up);
+protected:
+ bool InEditMode(void) { return pos >= 0; }
public:
cMenuEditStrItem(const char *Name, char *Value, int Length, const char *Allowed);
~cMenuEditStrItem();