summaryrefslogtreecommitdiff
path: root/bitmap.h
blob: 507d7f7157877f9246b42127e3d47fe64f9c1764 (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
/*
 * bitmap.h: 'EnigmaNG' skin for the Video Disk Recorder
 *
 * See the README file for copyright information and how to reach the author.
 *
 */

#ifdef HAVE_IMAGEMAGICK

#ifndef _OSDIMAGE_BITMAP_H_
#define _OSDIMAGE_BITMAP_H_

#include "common.h"
#include <vdr/osd.h>

class cOSDImageBitmap {
public:
  cOSDImageBitmap();
  ~cOSDImageBitmap();
  bool DrawImage(const char *fileNameP, int x, int y, int w, int h, int colors, cBitmap *bmp);

private:
  bool DrawMagick(const char *Filename, int x, int y, int height, int width, int colors, cBitmap *bmp);
};

#endif
#endif //HAVE_IMAGEMAGICK

// vim:et:sw=2:ts=2: