summaryrefslogtreecommitdiff
path: root/osd.c
diff options
context:
space:
mode:
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);