2000-10-03 10:34:48 +02:00
|
|
|
/*
|
2002-05-10 14:55:53 +02:00
|
|
|
* dvbosd.h: Implementation of the DVB On Screen Display
|
2000-10-03 10:34:48 +02:00
|
|
|
*
|
|
|
|
* See the main source file 'vdr.c' for copyright information and
|
|
|
|
* how to reach the author.
|
|
|
|
*
|
2002-05-18 14:03:22 +02:00
|
|
|
* $Id: dvbosd.h 1.13 2002/05/18 13:38:09 kls Exp $
|
2000-10-03 10:34:48 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __DVBOSD_H
|
|
|
|
#define __DVBOSD_H
|
|
|
|
|
2001-06-02 10:47:40 +02:00
|
|
|
#include <ost/osd.h>
|
2002-05-10 14:55:53 +02:00
|
|
|
#include "osdbase.h"
|
2000-10-03 10:34:48 +02:00
|
|
|
|
2002-05-18 12:41:18 +02:00
|
|
|
class cDvbOsd : public cOsdBase {
|
2000-10-03 10:34:48 +02:00
|
|
|
private:
|
2002-05-18 14:03:22 +02:00
|
|
|
int osdDev;
|
2002-01-13 15:55:08 +01:00
|
|
|
bool SetWindow(cWindow *Window);
|
2000-10-03 10:34:48 +02:00
|
|
|
void Cmd(OSD_Command cmd, int color = 0, int x0 = 0, int y0 = 0, int x1 = 0, int y1 = 0, const void *data = NULL);
|
2002-05-10 14:55:53 +02:00
|
|
|
protected:
|
|
|
|
virtual bool OpenWindow(cWindow *Window);
|
|
|
|
virtual void CommitWindow(cWindow *Window);
|
|
|
|
virtual void ShowWindow(cWindow *Window);
|
|
|
|
virtual void HideWindow(cWindow *Window, bool Hide);
|
|
|
|
virtual void MoveWindow(cWindow *Window, int x, int y);
|
|
|
|
virtual void CloseWindow(cWindow *Window);
|
2000-10-03 10:34:48 +02:00
|
|
|
public:
|
2002-05-18 14:03:22 +02:00
|
|
|
cDvbOsd(int OsdDev, int x, int y);
|
2002-05-10 14:55:53 +02:00
|
|
|
virtual ~cDvbOsd();
|
2000-10-03 10:34:48 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif //__DVBOSD_H
|