![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXPNGIcon.h>
Public Member Functions | |
FXPNGIcon (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 | ~FXPNGIcon () |
Static Public Attributes | |
static const FXchar | fileExt [] |
static const FXchar | mimeType [] |
static const bool | supported |
Portable Network Graphics (PNG) Icon class.
FX::FXPNGIcon::FXPNGIcon | ( | FXApp * | a, |
const void * | pix = NULL , |
||
FXColor | clr = FXRGB(192, 192, 192) , |
||
FXuint | opts = 0 , |
||
FXint | w = 1 , |
||
FXint | h = 1 |
||
) |
Construct an icon from memory stream formatted in PNG format.
virtual FX::FXPNGIcon::~FXPNGIcon | ( | ) | [virtual] |
Destroy.
virtual bool FX::FXPNGIcon::savePixels | ( | FXStream & | store | ) | const [virtual] |
Save pixels into stream in PNG format.
Reimplemented from FX::FXImage.
virtual bool FX::FXPNGIcon::loadPixels | ( | FXStream & | store | ) | [virtual] |
Load pixels from stream in PNG format.
Reimplemented from FX::FXImage.
const FXchar FX::FXPNGIcon::fileExt[] [static] |
const FXchar FX::FXPNGIcon::mimeType[] [static] |
const bool FX::FXPNGIcon::supported [static] |
True if format is supported.
![]() |