diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-05-19 15:50:11 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-05-19 15:50:11 +0200 |
commit | 9f9d6a8a9354960eb9c42f9c45ed507f05804ff4 (patch) | |
tree | 6e7de2a8ce6d3cedc78038e4d70ef2ff56f24528 /interface.c | |
parent | 82725f53b5c23d3436f3b71845a1b61447b9780f (diff) | |
download | vdr-9f9d6a8a9354960eb9c42f9c45ed507f05804ff4.tar.gz vdr-9f9d6a8a9354960eb9c42f9c45ed507f05804ff4.tar.bz2 |
Implemented cStatusMonitor to allow plugins to set up a status monitor
Diffstat (limited to 'interface.c')
-rw-r--r-- | interface.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/interface.c b/interface.c index 3bd48434..9c2e918d 100644 --- a/interface.c +++ b/interface.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: interface.c 1.49 2002/05/18 13:08:20 kls Exp $ + * $Id: interface.c 1.50 2002/05/19 12:02:57 kls Exp $ */ #include "interface.h" @@ -12,6 +12,7 @@ #include <unistd.h> #include "i18n.h" #include "osd.h" +#include "status.h" cInterface *Interface = NULL; @@ -127,6 +128,7 @@ void cInterface::Clear(void) { if (open) cOsd::Clear(); + cStatusMonitor::MsgOsdClear(); } void cInterface::ClearEol(int x, int y, eDvbColor Color) @@ -287,6 +289,7 @@ void cInterface::Title(const char *s) x = 0; Write(x, 0, s, clrBlack, clrCyan); } + cStatusMonitor::MsgOsdTitle(s); } void cInterface::Status(const char *s, eDvbColor FgColor, eDvbColor BgColor) @@ -299,6 +302,7 @@ void cInterface::Status(const char *s, eDvbColor FgColor, eDvbColor BgColor) x = 0; Write(x, Line, s, FgColor, BgColor); } + cStatusMonitor::MsgOsdStatusMessage(s); } void cInterface::Info(const char *s) @@ -354,6 +358,7 @@ void cInterface::Help(const char *Red, const char *Green, const char *Yellow, co HelpButton(1, Green, clrBlack, clrGreen); HelpButton(2, Yellow, clrBlack, clrYellow); HelpButton(3, Blue, clrWhite, clrBlue); + cStatusMonitor::MsgOsdHelpKeys(Red, Green, Yellow, Blue); } void cInterface::QueryKeys(void) |