summaryrefslogtreecommitdiffstats
path: root/matchblox/bitmap.h
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2008-05-14 11:56:06 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2008-05-14 11:56:06 (GMT)
commitd4d35970d88edccdd963e53ea3e11f702e1e2bab (patch)
treeaa3f522ef826752bf08e2396f70a3156e1b81e5b /matchblox/bitmap.h
parentab5d6fe55a31891ac8ad2949c31704e8245e116f (diff)
download2iv55-d4d35970d88edccdd963e53ea3e11f702e1e2bab.zip
2iv55-d4d35970d88edccdd963e53ea3e11f702e1e2bab.tar.gz
2iv55-d4d35970d88edccdd963e53ea3e11f702e1e2bab.tar.bz2
fix this
Diffstat (limited to 'matchblox/bitmap.h')
-rw-r--r--matchblox/bitmap.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/matchblox/bitmap.h b/matchblox/bitmap.h
new file mode 100644
index 0000000..5aa9be6
--- /dev/null
+++ b/matchblox/bitmap.h
@@ -0,0 +1,24 @@
+#ifndef _CBITMAP_H
+#define _CBITMAP_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+struct BitmapStruct {
+ int m_iImageId;
+ int m_iWidth;
+ int m_iHeight;
+};
+
+struct BitmapStruct BitmapLoad(char *filename);
+void BitmapRender(int f_iXPos, int f_iYPos, int f_iWidth, int f_iHeight, int f_iImageId);
+void BitmapConvertWidth(struct BitmapStruct *f_sImage, double f_dHeight);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif