blob: be4e764566dfb53ad36273bc84611d769184ef28 (
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
|
#ifndef _OSDIMAGE_BITMAP_H_
#define _OSDIMAGE_BITMAP_H_
#define X_DISPLAY_MISSING
#include <vdr/osd.h>
#include <vdr/skins.h>
#include <Magick++.h>
using namespace Magick;
class cOSDImageBitmap {
public:
cOSDImageBitmap();
~cOSDImageBitmap();
bool Load(cBitmap &bmp, const char *Filename, int width=0, int height=0, int bpp=0);
#if VDRVERSNUM > 10716
bool Load(const char *Filename, int width, int height);
cImage GetImage();
private:
Image osdImage;
#endif
};
#endif
|