summaryrefslogtreecommitdiff
path: root/osd.c
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 /osd.c
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 'osd.c')
-rw-r--r--osd.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/osd.c b/osd.c
index 96e038a4..9d8b72db 100644
--- a/osd.c
+++ b/osd.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: osd.c 1.41 2003/05/02 10:46:13 kls Exp $
+ * $Id: osd.c 1.42 2003/05/03 14:46:38 kls Exp $
*/
#include "osd.h"
@@ -423,6 +423,11 @@ void cOsdMenu::Display(void)
Interface->Help(helpRed, helpGreen, helpYellow, helpBlue);
int count = Count();
if (count > 0) {
+ for (int i = 0; i < count; i++) {
+ cOsdItem *item = Get(i);
+ if (item)
+ cStatus::MsgOsdItem(item->Text(), i);
+ }
if (current < 0)
current = 0; // just for safety - there HAS to be a current item!
int n = 0;