aboutsummaryrefslogtreecommitdiff
path: root/src/bitmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bitmap.h')
-rw-r--r--src/bitmap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bitmap.h b/src/bitmap.h
index 0f08959..61ef0ce 100644
--- a/src/bitmap.h
+++ b/src/bitmap.h
@@ -1,9 +1,15 @@
#ifndef IMV_BITMAP_H
#define IMV_BITMAP_H
+enum imv_pixelformat {
+ IMV_ARGB,
+ IMV_ABGR,
+};
+
struct imv_bitmap {
int width;
int height;
+ enum imv_pixelformat format;
unsigned char *data;
};