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

FX::FXTGAIcon Class Reference

#include <FXTGAIcon.h>

Inheritance diagram for FX::FXTGAIcon:
FX::FXIcon FX::FXImage FX::FXDrawable FX::FXId FX::FXObject

List of all members.

Public Member Functions

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

Static Public Attributes

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

Detailed Description

TARGA image format icon.


Constructor & Destructor Documentation

FX::FXTGAIcon::FXTGAIcon ( 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 TARGA format.

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

Destroy icon.


Member Function Documentation

virtual bool FX::FXTGAIcon::savePixels ( FXStream store) const [virtual]

Save pixels into stream in TARGA format.

Reimplemented from FX::FXImage.

virtual bool FX::FXTGAIcon::loadPixels ( FXStream store) [virtual]

Load pixels from stream in TARGA format.

Reimplemented from FX::FXImage.


Member Data Documentation

const FXchar FX::FXTGAIcon::fileExt[] [static]
const FXchar FX::FXTGAIcon::mimeType[] [static]

Copyright © 1997-2005 Jeroen van der Zijp