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 /status.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 'status.c')
-rw-r--r-- | status.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: status.c 1.4 2002/07/13 10:49:34 kls Exp $ + * $Id: status.c 1.5 2003/05/03 14:47:44 kls Exp $ */ #include "status.h" @@ -71,6 +71,12 @@ void cStatus::MsgOsdHelpKeys(const char *Red, const char *Green, const char *Yel sm->OsdHelpKeys(Red, Green, Yellow, Blue); } +void cStatus::MsgOsdItem(const char *Text, int Index) +{ + for (cStatus *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) + sm->OsdItem(Text, Index); +} + void cStatus::MsgOsdCurrentItem(const char *Text) { for (cStatus *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) |