summaryrefslogtreecommitdiff
path: root/status.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-05-03 14:55:17 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-05-03 14:55:17 +0200
commitf1e5b591bd28c8acd852cad723459991c81d89b9 (patch)
tree2fbc47ef69af85c35d2e61beeaf32455b44f44c9 /status.h
parent2cd7928fc6dcffa61298d15d0bde21cd6d856868 (diff)
downloadvdr-f1e5b591bd28c8acd852cad723459991c81d89b9.tar.gz
vdr-f1e5b591bd28c8acd852cad723459991c81d89b9.tar.bz2
Added cStatus::OsdItem() to provide the entire list of menu items to a plugin
Diffstat (limited to 'status.h')
-rw-r--r--status.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/status.h b/status.h
index 8041f8cd..de0d9256 100644
--- a/status.h
+++ b/status.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: status.h 1.5 2002/07/14 10:54:39 kls Exp $
+ * $Id: status.h 1.6 2003/05/03 14:43:18 kls Exp $
*/
#ifndef __STATUS_H
@@ -45,6 +45,8 @@ protected:
// If Message is NULL, the status line has been cleared.
virtual void OsdHelpKeys(const char *Red, const char *Green, const char *Yellow, const char *Blue) {}
// The help keys have been set to the given values (may be NULL).
+ virtual void OsdItem(const char *Text, int Index) {}
+ // The OSD displays the given single line Text as menu item at Index.
virtual void OsdCurrentItem(const char *Text) {}
// The OSD displays the given single line Text as the current menu item.
virtual void OsdTextItem(const char *Text, bool Scroll) {}
@@ -69,6 +71,7 @@ public:
static void MsgOsdTitle(const char *Title);
static void MsgOsdStatusMessage(const char *Message);
static void MsgOsdHelpKeys(const char *Red, const char *Green, const char *Yellow, const char *Blue);
+ static void MsgOsdItem(const char *Text, int Index);
static void MsgOsdCurrentItem(const char *Text);
static void MsgOsdTextItem(const char *Text, bool Scroll = false);
static void MsgOsdChannel(const char *Text);