eGUI alias D4D  Release 3.0
Reference Manual
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
D4D BMP DRAW API Macro's Specification
Collaboration diagram for D4D BMP DRAW API Macro's Specification:

Macros

#define D4D_DECLARE_BMP(name, pbmp, ppal)
 Macro that define the bitmap inside of internal memory. More...
 
#define D4D_DECLARE_BMPFILE(name, filename)
 Macro that define the bitmap in external memory. More...
 
#define D4D_EXTERN_BMP(name)
 Macro that externs the image structure. More...
 

Detailed Description

This section specifies the exact usage for each API macro.

Macro Definition Documentation

#define D4D_DECLARE_BMP (   name,
  pbmp,
  ppal 
)

Macro that define the bitmap inside of internal memory.

Parameters
name- name of the bitmap structure
pbmp- pointer to bitmap data
ppal- pointer on pallete, in case that the picture is not provided with pallete, let this field NULL
Note
This define D4D_BMP structure that is used in whole eGUI to draw image to screen.

Definition at line 135 of file d4d_bmp.h.

#define D4D_DECLARE_BMPFILE (   name,
  filename 
)

Macro that define the bitmap in external memory.

Parameters
name- name of the bitmap structure
filename- pointer to filename (relative to default image folder or absolute)
Note
This define D4D_BMP structure for external image.

Definition at line 147 of file d4d_bmp.h.

#define D4D_EXTERN_BMP (   name)

Macro that externs the image structure.

Parameters
name- name of the bitmap structure
Note
Just help macro to extern the image structure.

Definition at line 158 of file d4d_bmp.h.