21# define Fl_ICO_Image_H
22# include "Fl_BMP_Image.H"
42 Fl_ICO_Image(
const char *filename,
int id = -1,
const unsigned char *data = NULL,
const size_t datasize = 0);
53 struct IconDirEntry *icondirentry_;
The Fl_BMP_Image class supports loading, caching, and drawing of Windows Bitmap (BMP) image files.
Definition: Fl_BMP_Image.H:28
The Fl_ICO_Image class supports loading, caching, and drawing of Windows icon (.ico) files.
Definition: Fl_ICO_Image.H:27
const IconDirEntry * icondirentry() const
Returns the array of idcount() loaded IconDirEntry structures.
Definition: Fl_ICO_Image.H:49
int idcount() const
Returns the number of icons of various resolutions present in the ICO object.
Definition: Fl_ICO_Image.H:46
Definition: Fl_Image_Reader.h:32
Windows ICONDIRENTRY structure
Definition: Fl_ICO_Image.H:31
int bHeight
Image height.
Definition: Fl_ICO_Image.H:33
int wBitCount
Bits per pixel.
Definition: Fl_ICO_Image.H:37
int bWidth
Image width.
Definition: Fl_ICO_Image.H:32
int wPlanes
Color Planes.
Definition: Fl_ICO_Image.H:36
int dwImageOffset
Offset to the image.
Definition: Fl_ICO_Image.H:39
int dwBytesInRes
Resource size in bytes.
Definition: Fl_ICO_Image.H:38
int bReserved
Reserved.
Definition: Fl_ICO_Image.H:35
int bColorCount
Number of colors (0 if ≥ 8bpp)
Definition: Fl_ICO_Image.H:34