diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2001-07-22 12:33:45 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2001-07-22 12:33:45 +0200 |
commit | c14d8d1da1842157568be1d7f84bcf2337762559 (patch) | |
tree | 5f25bde57e60066f78ba18ea58966371d424818f /interface.c | |
parent | e4732c091253615801bdce39db203da3b62b4285 (diff) | |
download | vdr-c14d8d1da1842157568be1d7f84bcf2337762559.tar.gz vdr-c14d8d1da1842157568be1d7f84bcf2337762559.tar.bz2 |
Larger OSD with 2bpp windows; Channel display at bottom
Diffstat (limited to 'interface.c')
-rw-r--r-- | interface.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/interface.c b/interface.c index c8d1fb13..55129341 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.36 2001/06/02 09:05:54 kls Exp $ + * $Id: interface.c 1.37 2001/07/22 12:26:28 kls Exp $ */ #include "interface.h" @@ -281,14 +281,15 @@ void cInterface::Title(const char *s) void cInterface::Status(const char *s, eDvbColor FgColor, eDvbColor BgColor) { - ClearEol(0, -2, s ? BgColor : clrBackground); + int Line = (abs(height) == 1) ? 0 : -2; + ClearEol(0, Line, s ? BgColor : clrBackground); if (s) - Write(0, -2, s, FgColor, BgColor); + Write(0, Line, s, FgColor, BgColor); } void cInterface::Info(const char *s) { - Open(); + Open(MenuColumns, -1); isyslog(LOG_INFO, "info: %s", s); Status(s, clrWhite, clrGreen); Wait(); @@ -298,7 +299,7 @@ void cInterface::Info(const char *s) void cInterface::Error(const char *s) { - Open(); + Open(MenuColumns, -1); esyslog(LOG_ERR, "ERROR: %s", s); Status(s, clrWhite, clrRed); Wait(); |