diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2003-05-03 14:55:17 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2003-05-03 14:55:17 +0200 |
commit | f1e5b591bd28c8acd852cad723459991c81d89b9 (patch) | |
tree | 2fbc47ef69af85c35d2e61beeaf32455b44f44c9 /osd.c | |
parent | 2cd7928fc6dcffa61298d15d0bde21cd6d856868 (diff) | |
download | vdr-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.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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; |