Crossfire Client, Trunk  R20612
image.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  PixmapInfo
 

Macros

#define DEFAULT_IMAGE_SIZE   32
 
#define MAXPIXMAPNUM   10000
 

Typedefs

typedef struct PixmapInfo PixmapInfo
 

Variables

int have_new_image
 
PixmapInfopixmaps [MAXPIXMAPNUM]
 

Detailed Description

Pixmap data. This is abstracted in the sense that the code here does not care what the data points to (hence the void). The module using this data should know whether it is these point to png data or image data of whatever form. The module is not required to use all these fields - as png data includes transparancy, it will generally not use the mask fields and instead just put its data into the appropriate image fields.

As images can now be of variable size (and potentially re-sized), the size information is stored here.

Definition in file image.h.

Macro Definition Documentation

#define DEFAULT_IMAGE_SIZE   32

Definition at line 40 of file image.h.

Referenced by config_check(), and create_and_rescale_image_from_data().

#define MAXPIXMAPNUM   10000

Definition at line 41 of file image.h.

Typedef Documentation

typedef struct PixmapInfo PixmapInfo

Variable Documentation

int have_new_image

Definition at line 52 of file image.c.

Referenced by create_and_rescale_image_from_data(), and redraw().