aboutsummaryrefslogtreecommitdiff
path: root/src/bitmap.h
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2017-11-26 13:43:05 +0000
committerHarry Jeffery <harry@exec64.co.uk>2017-11-26 13:43:18 +0000
commit7d310e4897887909099afa1cb9333dd85eae3bd4 (patch)
treecc8b7ac3e5b8d64baaa90a9cbdfcd8b7f1afe64a /src/bitmap.h
parent2c51ecf4eef9e06a464ed73f17bd3752d47d3dee (diff)
downloadimv-7d310e4897887909099afa1cb9333dd85eae3bd4.tar.gz
Use imv_bitmap for bitmaps intead of FIBITMAP
Diffstat (limited to 'src/bitmap.h')
-rw-r--r--src/bitmap.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/bitmap.h b/src/bitmap.h
new file mode 100644
index 0000000..0f08959
--- /dev/null
+++ b/src/bitmap.h
@@ -0,0 +1,13 @@
+#ifndef IMV_BITMAP_H
+#define IMV_BITMAP_H
+
+struct imv_bitmap {
+ int width;
+ int height;
+ unsigned char *data;
+};
+
+struct imv_bitmap *imv_bitmap_clone(struct imv_bitmap *bmp);
+void imv_bitmap_free(struct imv_bitmap *bmp);
+
+#endif