![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXBMPIcon.h>
Public Member Functions | |
| FXBMPIcon (FXApp *a, const void *pix=NULL, FXColor clr=FXRGB(192, 192, 192), FXuint opts=0, FXint w=1, FXint h=1) | |
| virtual bool | savePixels (FXStream &store) const |
| virtual bool | loadPixels (FXStream &store) |
| virtual | ~FXBMPIcon () |
Static Public Attributes | |
| static const FXchar | fileExt [] |
| static const FXchar | mimeType [] |
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::FXBMPIcon::FXBMPIcon | ( | FXApp * | a, | |
| const void * | pix = NULL, |
|||
| FXColor | clr = FXRGB(192, 192, 192), |
|||
| FXuint | opts = 0, |
|||
| FXint | w = 1, |
|||
| FXint | h = 1 | |||
| ) |
Construct icon from memory stream formatted in Microsoft BMP format.
| virtual FX::FXBMPIcon::~FXBMPIcon | ( | ) | [virtual] |
Destroy icon.
| virtual bool FX::FXBMPIcon::savePixels | ( | FXStream & | store | ) | const [virtual] |
| virtual bool FX::FXBMPIcon::loadPixels | ( | FXStream & | store | ) | [virtual] |
const FXchar FX::FXBMPIcon::fileExt[] [static] |
const FXchar FX::FXBMPIcon::mimeType[] [static] |
|
|