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

FX::FXRASIcon Class Reference

#include <FXRASIcon.h>

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

List of all members.

Public Member Functions

 FXRASIcon (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 ~FXRASIcon ()

Static Public Attributes

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

Detailed Description

SUN Raster Image format icon.


Constructor & Destructor Documentation

FX::FXRASIcon::FXRASIcon ( 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 SUN Raster Image format.

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

Destroy icon.


Member Function Documentation

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

Save pixels into stream in SUN Raster Image format.

Reimplemented from FX::FXImage.

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

Load pixels from stream in SUN Raster Image format.

Reimplemented from FX::FXImage.


Member Data Documentation

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

Copyright © 1997-2005 Jeroen van der Zijp