JWM Source Documentation
Data Fields
ImageNode Struct Reference

Structure to represent an image. More...

#include <image.h>

Data Fields

struct ImageNodenext
 Next image node (if multiple sizes).
 
unsigned char * data
 Image data.
 
int width
 Width of the image.
 
int height
 Height of the image.
 
char bitmap
 1 if a bitmap, 0 otherwise.
 
char render
 1 to use render, 0 otherwise.
 

Detailed Description

Structure to represent an image.

Definition at line 14 of file image.h.

Field Documentation

char ImageNode::bitmap

1 if a bitmap, 0 otherwise.

Definition at line 20 of file image.h.

Referenced by CreateIcon(), CreateImage(), CreateScaledRenderIcon(), and GetScaledIcon().

unsigned char* ImageNode::data
int ImageNode::height

Height of the image.

Definition at line 19 of file image.h.

Referenced by CreateIcon(), CreateImage(), CreateScaledRenderIcon(), GetBestImage(), GetScaledIcon(), and LoadPNGImage().

struct ImageNode* ImageNode::next

Next image node (if multiple sizes).

Definition at line 16 of file image.h.

Referenced by CreateIconFromBinary(), CreateImage(), DestroyImage(), GetBestImage(), and GetScaledIcon().

char ImageNode::render

1 to use render, 0 otherwise.

Definition at line 22 of file image.h.

Referenced by CreateIcon(), CreateImage(), and GetDefaultIcon().

int ImageNode::width

Width of the image.

Definition at line 18 of file image.h.

Referenced by CreateIcon(), CreateImage(), CreateScaledRenderIcon(), GetBestImage(), and GetScaledIcon().


The documentation for this struct was generated from the following file:

joewing.net / Projects / JWM