![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXBMPImage.h>
Public Member Functions | |
FXBMPImage (FXApp *a, const void *pix=NULL, FXuint opts=0, FXint w=1, FXint h=1) | |
virtual bool | savePixels (FXStream &store) const |
virtual bool | loadPixels (FXStream &store) |
virtual | ~FXBMPImage () |
Static Public Attributes | |
static const FXchar | fileExt [] |
static const FXchar | mimeType [] |
The BMP Image class is a convenience class for working with images in the Microsoft Bitmap (.bmp) graphics file format.
This makes it possible to use resources created with Windows development tools inside FOX without need for graphics file format translators. The bitmap loaded handles 1, 4, and 8 bit paletted bitmaps, 16 and 24 bit RGB bitmaps, and 32 bit RGBA bitmaps.
FX::FXBMPImage::FXBMPImage | ( | FXApp * | a, |
const void * | pix = NULL , |
||
FXuint | opts = 0 , |
||
FXint | w = 1 , |
||
FXint | h = 1 |
||
) |
Construct image from memory stream formatted in Microsoft BMP format.
virtual FX::FXBMPImage::~FXBMPImage | ( | ) | [virtual] |
Destroy icon.
virtual bool FX::FXBMPImage::savePixels | ( | FXStream & | store | ) | const [virtual] |
Save pixels into stream in Microsoft bitmap format.
Reimplemented from FX::FXImage.
virtual bool FX::FXBMPImage::loadPixels | ( | FXStream & | store | ) | [virtual] |
Load pixels from stream in Microsoft bitmap format.
Reimplemented from FX::FXImage.
const FXchar FX::FXBMPImage::fileExt[] [static] |
const FXchar FX::FXBMPImage::mimeType[] [static] |
![]() |