RDFU
1.0
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Screen.h
Go to the documentation of this file.
1
11
#ifndef SCREEN_H
12
#define SCREEN_H
13
14
15
#pragma pack(push, 1)
16
17
typedef
struct
_RGBPIXEL
18
{
19
UINT8
b
,
g
,
r
;
20
UINT8
alpha
;
// don't use this field!
21
}
RGBPIXEL
;
22
23
// for each loaded image
24
typedef
struct
_GIMAGE
25
{
26
RGBPIXEL
*
Data
;
27
UINTN
Width
;
28
UINTN
Height
;
29
}
GIMAGE
;
30
31
32
#pragma pack(pop)
33
34
//
35
// LoadBMP.c
36
//
37
38
GIMAGE
*
ImageLoadBMPFromMem
(UINT8 *BMPInMem, UINTN BMPSize);
39
GIMAGE
*
ImageAllocateStruct
(UINTN
Width
, UINTN
Height
);
40
VOID
ImageFree
(
GIMAGE
*Image);
41
VOID
ImageApplyAlphaChannel
(
GIMAGE
*Image, UINTN Alpha);
42
43
#endif
Screen.h
Generated on Thu Apr 18 2013 10:57:17 for RDFU by
1.8.3.1