summaryrefslogtreecommitdiff
path: root/bitmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'bitmap.h')
-rw-r--r--bitmap.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/bitmap.h b/bitmap.h
index 5692b9d..507d7f7 100644
--- a/bitmap.h
+++ b/bitmap.h
@@ -1,20 +1,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>
-#include <vdr/skins.h>
class cOSDImageBitmap {
public:
cOSDImageBitmap();
~cOSDImageBitmap();
- bool LoadImage(const char *fileNameP, int w, int h, int colors, cBitmap &bmp);
+ bool DrawImage(const char *fileNameP, int x, int y, int w, int h, int colors, cBitmap *bmp);
private:
- bool LoadMagick(const char *Filename, int height, int width, int colors, cBitmap &bmp);
+ 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: