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

FXXPMIcon.h File Reference

#include "FXIcon.h"

Go to the source code of this file.

Namespaces

namespace  FX

Functions

bool fxcheckXPM (FXStream &store)
bool fxloadXPM (const FXchar **pix, FXColor *&data, FXint &width, FXint &height)
bool fxloadXPM (FXStream &store, FXColor *&data, FXint &width, FXint &height)
bool fxsaveXPM (FXStream &store, const FXColor *data, FXint width, FXint height, bool fast=true)


Function Documentation

bool FX::fxcheckXPM (  FXStream &  store  ) 
 

Check if stream contains a XPM, return TRUE if so.

bool FX::fxloadXPM (  const FXchar **  pix,
FXColor *&  data,
FXint &  width,
FXint &  height
) 
 

Load an XPM (X Pixmap) from array of strings.

Upon successful return, the pixel array and size are returned. If an error occurred, the pixel array is set to NULL.

bool FX::fxloadXPM (  FXStream &  store,
FXColor *&  data,
FXint &  width,
FXint &  height
) 
 

Load an XPM (X Pixmap) file from a stream.

Upon successful return, the pixel array and size are returned. If an error occurred, the pixel array is set to NULL.

bool FX::fxsaveXPM (  FXStream &  store,
const FXColor *  data,
FXint  width,
FXint  height,
bool  fast = true
) 
 

Save an XPM (X Pixmap) file to a stream.

Copyright © 1997-2005 Jeroen van der Zijp