Usermode/AxWin3 - Fixed dropped messages due to small buffer size
[tpg/acess2.git] / Usermode / Applications / axwin3_src / WM / include / image.h
1 /*
2  * Acess2 GUI (AxWin) Version 3
3  * - By John Hodge (thePowersGang)
4  *
5  * image.h
6  */
7 #ifndef _IMAGE_H_
8 #define _IMAGE_H_
9
10 #include <stdint.h>
11
12 typedef struct sImage   tImage;
13
14 struct sImage
15 {
16         short   Width;
17         short   Height;
18          int    Format;
19         uint8_t Data[];
20 };
21
22 enum eImageFormats
23 {
24         IMGFMT_BGRA,
25         IMGFMT_RGB,
26         NUM_IMGFMTS
27 };
28
29 // === PROTOTYPES ===
30 extern tImage   *Image_Load(const char *URI);
31
32 #endif

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