Usermode/AxWin3 - Cleaning up bugs, adding image loading and text printing
[tpg/acess2.git] / Usermode / Applications / axwin3_src / WM / include / image.h
diff --git a/Usermode/Applications/axwin3_src/WM/include/image.h b/Usermode/Applications/axwin3_src/WM/include/image.h
new file mode 100644 (file)
index 0000000..12b2909
--- /dev/null
@@ -0,0 +1,30 @@
+/*
+ * Acess2 GUI (AxWin) Version 3
+ * - By John Hodge (thePowersGang)
+ *
+ * image.h
+ */
+#ifndef _IMAGE_H_
+#define _IMAGE_H_
+
+typedef struct sImage  tImage;
+
+struct sImage
+{
+       short   Width;
+       short   Height;
+        int    Format;
+       uint8_t Data[];
+};
+
+enum eImageFormats
+{
+       IMGFMT_BGRA,
+       IMGFMT_RGB,
+       NUM_IMGFMTS
+};
+
+// === PROTOTYPES ===
+extern tImage  *Image_Load(const char *URI);
+
+#endif

UCC git Repository :: git.ucc.asn.au