summaryrefslogtreecommitdiff
path: root/osd.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-11-12 16:48:50 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2000-11-12 16:48:50 +0100
commit5e272f90653736e6bc115660fa39cbe6d2ab0403 (patch)
tree1a284a0af49e93b8cdec62792c865fbe4cfd36df /osd.c
parent5b65773ec836a6086374657098bbcc55e74abd60 (diff)
downloadvdr-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.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/osd.c b/osd.c
index 4f4f0c3a..bc9c9485 100644
--- a/osd.c
+++ b/osd.c
@@ -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);