Crossfire Client, Trunk  R20996
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


#define MAXPIXMAPNUM   10000


typedef struct PixmapInfo PixmapInfo


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



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

◆ PixmapInfo

typedef struct PixmapInfo PixmapInfo

Variable Documentation

◆ have_new_image

int have_new_image

Definition at line 42 of file image.c.

Referenced by create_and_rescale_image_from_data(), and redraw().

◆ pixmaps