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

FX::FXRGBIcon Class Reference

IRIS RGB icon. More...

#include <FXRGBIcon.h>

Inheritance diagram for FX::FXRGBIcon:

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

List of all members.

Public Member Functions

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

Static Public Attributes

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


Detailed Description

IRIS RGB icon.

Constructor & Destructor Documentation

FX::FXRGBIcon::FXRGBIcon ( 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 IRIS-RGB format.

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

Destroy icon.


Member Function Documentation

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

Save pixels into stream in IRIS-RGB format.

Reimplemented from FX::FXImage.

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

Load pixels from stream in IRIS-RGB format.

Reimplemented from FX::FXImage.


Member Data Documentation

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

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

Copyright © 1997-2009 Jeroen van der Zijp