summaryrefslogtreecommitdiff
path: root/bitmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'bitmap.h')
-rw-r--r--bitmap.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/bitmap.h b/bitmap.h
new file mode 100644
index 0000000..5692b9d
--- /dev/null
+++ b/bitmap.h
@@ -0,0 +1,20 @@
+#ifdef HAVE_IMAGEMAGICK
+
+#ifndef _OSDIMAGE_BITMAP_H_
+#define _OSDIMAGE_BITMAP_H_
+
+#include <vdr/osd.h>
+#include <vdr/skins.h>
+
+class cOSDImageBitmap {
+public:
+ cOSDImageBitmap();
+ ~cOSDImageBitmap();
+ bool LoadImage(const char *fileNameP, int w, int h, int colors, cBitmap &bmp);
+
+private:
+ bool LoadMagick(const char *Filename, int height, int width, int colors, cBitmap &bmp);
+};
+
+#endif
+#endif //HAVE_IMAGEMAGICK