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

FX::FXTIFIcon Class Reference

TIFF Icon class. More...

#include <FXTIFIcon.h>

Inheritance diagram for FX::FXTIFIcon:

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

Public Member Functions

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

Static Public Attributes

const FXchar fileExt []
const FXbool supported

Detailed Description

TIFF Icon class.


Constructor & Destructor Documentation

FX::FXTIFIcon::FXTIFIcon 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 TIFF format.

virtual FX::FXTIFIcon::~FXTIFIcon  )  [virtual]
 

Destroy.


Member Function Documentation

void FX::FXTIFIcon::setCodec FXuint  c  )  [inline]
 

Set codec to save with.

FXuint FX::FXTIFIcon::getCodec  )  const [inline]
 

Get codec setting.

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

Save pixels into stream in TIFF format.

Reimplemented from FX::FXImage.

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

Load pixels from stream in TIFF format.

Reimplemented from FX::FXImage.


Member Data Documentation

const FXbool FX::FXTIFIcon::supported [static]
 

True if format is supported.

Copyright © 1997-2005 Jeroen van der Zijp