summaryrefslogtreecommitdiff
path: root/netosd.h
blob: 857087b9531f251107328b73ef9ec0355e0abf30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
 * netosd.h: OSD over network
 *
 * See the README file for copyright information and how to reach the author.
 *
 */

#ifndef _NETOSD__H
#define _NETOSD__H

#include <vdr/osd.h>
#include "tools/socket.h"

// --- cNetOSD -----------------------------------------------
class cNetOSD : public cOsd {
private:
	bool truecolor;
protected:
public:
    cNetOSD(int XOfs, int YOfs, uint Level = OSD_LEVEL_DEFAULT);
    virtual ~cNetOSD();
    virtual eOsdError CanHandleAreas(const tArea *Areas, int NumAreas);
    virtual void Flush(void);
};

// --- cNetOSDProvider ----------------------------------------

class cNetOSDProvider : public cOsdProvider {
private:
    cOsd *osd;
    cNetOSD **NetOSD;
public:
    cNetOSDProvider(void);
    virtual cOsd *CreateOsd(int Left, int Top, uint Level);
};

#endif //_NETOSD__H