Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXBMPIcon Class Reference

The BMP Icon class is a convenience class for working with icons in the Microsoft Bitmap (.bmp) graphics file format. More...

#include <FXBMPIcon.h>

Inheritance diagram for FX::FXBMPIcon:
FX::FXIcon FX::FXImage FX::FXDrawable FX::FXId FX::FXObject

List of all members.

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)
 Construct icon from memory stream formatted in Microsoft BMP format.
virtual FXbool savePixels (FXStream &store) const
 Save pixels into stream in Microsoft bitmap format.
virtual FXbool loadPixels (FXStream &store)
 Load pixels from stream in Microsoft bitmap format.
virtual ~FXBMPIcon ()
 Destroy icon.

Static Public Attributes

static const FXchar fileExt []
static const FXchar mimeType []

Detailed Description

The BMP Icon class is a convenience class for working with icons 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.


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

Copyright © 1997-2011 Jeroen van der Zijp