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

FX::FXPPMImage Class Reference

Portable Pixmap Image. More...

#include <FXPPMImage.h>

Inheritance diagram for FX::FXPPMImage:

FX::FXImage FX::FXDrawable FX::FXId FX::FXObject

List of all members.

Public Member Functions

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

Static Public Attributes

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


Detailed Description

Portable Pixmap Image.

Constructor & Destructor Documentation

FX::FXPPMImage::FXPPMImage ( FXApp a,
const void *  pix = NULL,
FXuint  opts = 0,
FXint  w = 1,
FXint  h = 1 
)

Construct icon from memory stream formatted in Portable Pixmap format.

virtual FX::FXPPMImage::~FXPPMImage (  )  [virtual]

Destroy icon.


Member Function Documentation

virtual FXbool FX::FXPPMImage::savePixels ( FXStream store  )  const [virtual]

Save pixels into stream in Portable Pixmap format.

Reimplemented from FX::FXImage.

virtual FXbool FX::FXPPMImage::loadPixels ( FXStream store  )  [virtual]

Load pixels from stream in Portable Pixmap format.

Reimplemented from FX::FXImage.


Member Data Documentation

const FXchar FX::FXPPMImage::fileExt[] [static]

const FXchar FX::FXPPMImage::mimeType[] [static]

Copyright © 1997-2009 Jeroen van der Zijp