The default cOsdObject::Show() now automatically calls cOsdMenu::Display() if this is a menu

This commit is contained in:
Klaus Schmidinger
2006-01-05 15:35:06 +01:00
parent 526c94f017
commit c0f1fc817e
4 changed files with 15 additions and 8 deletions

View File

@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: osdbase.h 1.13 2006/01/05 12:42:11 kls Exp $
* $Id: osdbase.h 1.14 2006/01/05 15:35:06 kls Exp $
*/
#ifndef __OSDBASE_H
@@ -77,7 +77,7 @@ public:
virtual ~cOsdObject() {}
bool NeedsFastResponse(void) { return needsFastResponse; }
bool IsMenu(void) { return isMenu; }
virtual void Show(void) {}
virtual void Show(void);
virtual eOSState ProcessKey(eKeys Key) { return osUnknown; }
};