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 bool savePixels (FXStream &store) const
virtual bool loadPixels (FXStream &store)
virtual ~FXTIFIcon ()

Static Public Attributes

static const FXchar fileExt []
static const FXchar mimeType []
static const bool 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 bool FX::FXTIFIcon::savePixels FXStream store  )  const [virtual]
 

Save pixels into stream in TIFF format.

Reimplemented from FX::FXImage.

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

Load pixels from stream in TIFF format.

Reimplemented from FX::FXImage.


Member Data Documentation

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

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

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

True if format is supported.

Copyright © 1997-2005 Jeroen van der Zijp