6cda85b49e29531a2f47ef7716f7c6be8085a208
[tpg/acess2.git] / Usermode / Applications / axwin2_src / WM / image.h
1 /*
2  * Acess GUI (AxWin) Version 2
3  * By John Hodge (thePowersGang)
4  */
5 #ifndef _IMAGE_H_
6 #define _IMAGE_H_
7
8 typedef struct sImage   tImage;
9
10 struct sImage
11 {
12         short   Width;
13         short   Height;
14          int    Format;
15         uint8_t Data[];
16 };
17
18 enum eImageFormats
19 {
20         IMGFMT_BGRA,
21         IMGFMT_RGB,
22         NUM_IMGFMTS
23 };
24
25 // === PROTOTYPES ===
26 extern tImage   *Image_Load(const char *URI);
27
28 #endif

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