diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2000-11-12 16:48:50 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2000-11-12 16:48:50 +0100 |
commit | 5e272f90653736e6bc115660fa39cbe6d2ab0403 (patch) | |
tree | 1a284a0af49e93b8cdec62792c865fbe4cfd36df /osd.c | |
parent | 5b65773ec836a6086374657098bbcc55e74abd60 (diff) | |
download | vdr-5e272f90653736e6bc115660fa39cbe6d2ab0403.tar.gz vdr-5e272f90653736e6bc115660fa39cbe6d2ab0403.tar.bz2 |
The 'Schedule' button now shows the schedule of the current channel in the 'Now/Next' menu
Diffstat (limited to 'osd.c')
-rw-r--r-- | osd.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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); |