Defines | Typedefs | Enumerations | Functions

iup_image.h File Reference

Image Resource Private Declarations. More...

Defines

#define iupALPHABLEND(_src, _dst, _alpha)   (unsigned char)(((_src) * (_alpha) + (_dst) * (255 - (_alpha))) / 255)

Typedefs

typedef struct _iupColor iupColor
typedef Ihandle *(* iupImageStockCreateFunc )(void)

Enumerations

enum  { IUPIMAGE_IMAGE, IUPIMAGE_ICON, IUPIMAGE_CURSOR }

Functions

void * iupdrvImageCreateMask (Ihandle *ih)
void * iupdrvImageCreateIcon (Ihandle *ih)
void * iupdrvImageCreateCursor (Ihandle *ih)
void * iupdrvImageCreateImage (Ihandle *ih, const char *bgcolor, int make_inactive)
void * iupdrvImageLoad (const char *name, int type)
void iupdrvImageDestroy (void *handle, int type)
int iupdrvImageGetInfo (void *handle, int *w, int *h, int *bpp)
void * iupImageGetMask (const char *name)
void * iupImageGetIcon (const char *name)
void * iupImageGetCursor (const char *name)
void * iupImageGetImage (const char *name, Ihandle *parent, int make_inactive)
void iupImageGetInfo (const char *name, int *w, int *h, int *bpp)
void iupImageUpdateParent (Ihandle *parent)
void iupImageClearCache (Ihandle *ih, void *handle)
int iupImageInitColorTable (Ihandle *ih, iupColor *colors, int *colors_count)
void iupImageInitNonBgColors (Ihandle *ih, unsigned char *colors)
void iupImageColorMakeInactive (unsigned char *r, unsigned char *g, unsigned char *b, unsigned char bg_r, unsigned char bg_g, unsigned char bg_b)
int iupImageNormBpp (int bpp)
void * iupdrvImageCreateImageRaw (int width, int height, int bpp, iupColor *colors, int colors_count, unsigned char *imgdata)
int iupdrvImageGetRawInfo (void *handle, int *w, int *h, int *bpp, iupColor *colors, int *colors_count)
void iupdrvImageGetRawData (void *handle, unsigned char *imgdata)
void iupImageStockInit (void)
void iupImageStockFinish (void)
void iupImageStockSet (const char *name, iupImageStockCreateFunc func, const char *native_name)
void iupImageStockLoad (const char *name)

Detailed Description

See Copyright Notice in "iup.h"