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

FX::FXPPMIcon Class Reference

Portable Pixmap icon. More...

#include <FXPPMIcon.h>

Inheritance diagram for FX::FXPPMIcon:

FX::FXIcon FX::FXImage FX::FXDrawable FX::FXId FX::FXObject List of all members.

Public Member Functions

 FXPPMIcon (FXApp *a, const void *pix=NULL, FXColor clr=FXRGB(192, 192, 192), FXuint opts=0, FXint w=1, FXint h=1)
virtual FXbool savePixels (FXStream &store) const
virtual FXbool loadPixels (FXStream &store)
virtual ~FXPPMIcon ()

Static Public Attributes

const FXchar fileExt []

Detailed Description

Portable Pixmap icon.


Constructor & Destructor Documentation

FX::FXPPMIcon::FXPPMIcon 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 Portable Pixmap format.

virtual FX::FXPPMIcon::~FXPPMIcon  )  [virtual]
 

Destroy icon.


Member Function Documentation

virtual FXbool FX::FXPPMIcon::savePixels FXStream store  )  const [virtual]
 

Save pixels into stream in Portable Pixmap format.

Reimplemented from FX::FXImage.

virtual FXbool FX::FXPPMIcon::loadPixels FXStream store  )  [virtual]
 

Load pixels from stream in Portable Pixmap format.

Reimplemented from FX::FXImage.

Copyright © 1997-2005 Jeroen van der Zijp