From 80bc1322367661b7897c26eb5a411f5a7640433b Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 16 Mar 2002 11:38:27 +0100 Subject: Fixed displaying a system message while the replay mode is being shown --- HISTORY | 1 + menu.c | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/HISTORY b/HISTORY index fc2c1746..5d59dac0 100644 --- a/HISTORY +++ b/HISTORY @@ -1100,3 +1100,4 @@ Video Disk Recorder Revision History parameters fits on a single screen - unless the height of the OSD has been set to a small value (based on code from Markus Lang). - Changed the title of the "Main" menu to "VDR". +- Fixed displaying a system message while the replay mode is being shown. diff --git a/menu.c b/menu.c index f37b35d9..2ffd62ed 100644 --- a/menu.c +++ b/menu.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 1.166 2002/03/16 10:06:18 kls Exp $ + * $Id: menu.c 1.167 2002/03/16 11:29:58 kls Exp $ */ #include "menu.h" @@ -2991,6 +2991,8 @@ void cReplayControl::DisplayAtBottom(const char *s) if (s) { int w = dvbApi->WidthInCells(s); int d = max(Width() - w, 0) / 2; + if (modeOnly) //XXX remove when displaying replay mode differently + Interface->Fill(0, -1, Interface->Width(), 1, clrTransparent); //XXX remove when displaying replay mode differently Interface->Write(d, -1, s); Interface->Flush(); } @@ -3010,8 +3012,11 @@ void cReplayControl::ShowMode(void) if (NormalPlay) return; // no need to do indicate ">" unless there was a different mode displayed before // open small display + /*XXX change when displaying replay mode differently Interface->Open(9, -1); Interface->Clear(); + XXX*/ + Interface->Open(0, -1); //XXX remove when displaying replay mode differently visible = modeOnly = true; } -- cgit v1.2.3