The 'Schedule' button now shows the schedule of the current channel in the 'Now/Next' menu

This commit is contained in:
Klaus Schmidinger
2000-11-12 16:48:50 +01:00
parent 5b65773ec8
commit 5e272f9065
6 changed files with 53 additions and 17 deletions

9
osd.c
View File

@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: osd.c 1.12 2000/11/10 16:18:38 kls Exp $
* $Id: osd.c 1.13 2000/11/12 15:29:25 kls Exp $
*/
#include "osd.h"
@@ -189,6 +189,13 @@ void cOsdMenu::DisplayCurrent(bool Current)
item->Display(current - first, Current ? clrBlack : clrWhite, Current ? clrCyan : clrBackground);
}
void cOsdMenu::Clear(void)
{
first = 0;
current = marked = -1;
cList<cOsdItem>::Clear();
}
bool cOsdMenu::SpecialItem(int idx)
{
cOsdItem *item = Get(idx);