git.ucc.asn.au
/
tpg
/
acess2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'master' of git://git.ucc.asn.au/tpg/acess2
[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
typedef struct sImage tImage;
11
12
struct sImage
13
{
14
short Width;
15
short Height;
16
int Format;
17
uint8_t Data[];
18
};
19
20
enum eImageFormats
21
{
22
IMGFMT_BGRA,
23
IMGFMT_RGB,
24
NUM_IMGFMTS
25
};
26
27
// === PROTOTYPES ===
28
extern tImage *Image_Load(const char *URI);
29
30
#endif
UCC
git Repository :: git.ucc.asn.au