From fb096c680f671d8b0a4b5a1e1dddf9aa96020061 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Wed, 1 Nov 2000 15:41:33 +0100 Subject: Moved 'DisplayChannel' to menu.c; Yellow and Green function temporarily disabled --- osd.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'osd.h') diff --git a/osd.h b/osd.h index 2b9359a6..473e87de 100644 --- a/osd.h +++ b/osd.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: osd.h 1.13 2000/11/01 11:20:15 kls Exp $ + * $Id: osd.h 1.14 2000/11/01 14:29:07 kls Exp $ */ #ifndef __OSD_H @@ -61,8 +61,10 @@ protected: public: cOsdBase(bool FastResponse = false) { needsFastResponse = FastResponse; } virtual ~cOsdBase() {} - virtual eOSState ProcessKey(eKeys Key) = 0; + int Width(void) { return Interface->Width(); } + int Height(void) { return Interface->Height(); } bool NeedsFastResponse(void) { return needsFastResponse; } + virtual eOSState ProcessKey(eKeys Key) = 0; }; class cOsdMenu : public cOsdBase, public cList { @@ -90,8 +92,6 @@ protected: public: cOsdMenu(const char *Title, int c0 = 0, int c1 = 0, int c2 = 0, int c3 = 0, int c4 = 0); virtual ~cOsdMenu(); - int Width(void) { return Interface->Width(); } - int Height(void) { return Interface->Height(); } int Current(void) { return current; } void Add(cOsdItem *Item, bool Current = false); void Display(void); -- cgit v1.2.3