summaryrefslogtreecommitdiff
path: root/menuitems.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-03-02 15:49:57 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-03-02 15:49:57 +0100
commitc5eb60f07a560d9baed751edbb5b5c0246c8e903 (patch)
tree419f655ba1aa9dd9ccb20cd91a9f6658d4bfde40 /menuitems.h
parente7b0f909ff42983c9f22b9db0e4ad6686942ea8b (diff)
downloadvdr-c5eb60f07a560d9baed751edbb5b5c0246c8e903.tar.gz
vdr-c5eb60f07a560d9baed751edbb5b5c0246c8e903.tar.bz2
Fixed handling OSD color button texts in case a menu item has texts of its own
Diffstat (limited to 'menuitems.h')
-rw-r--r--menuitems.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/menuitems.h b/menuitems.h
index a6f27438..db31bda4 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.5 2011/06/13 13:46:03 kls Exp $
+ * $Id: menuitems.h 2.6 2012/03/02 15:49:57 kls Exp $
*/
#ifndef __MENUITEMS_H
@@ -19,10 +19,15 @@ extern const char *FileNameChars;
class cMenuEditItem : public cOsdItem {
private:
char *name;
+ const char *helpRed, *helpGreen, *helpYellow, *helpBlue;
+ bool helpDisplayed;
+protected:
+ void SetHelp(const char *Red, const char *Green = NULL, const char *Yellow = NULL, const char *Blue = NULL);
public:
cMenuEditItem(const char *Name);
~cMenuEditItem();
void SetValue(const char *Value);
+ bool DisplayHelp(void);
};
class cMenuEditIntItem : public cMenuEditItem {