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

FX::FXDDSIcon Class Reference

The DDS Icon class is a convenience class for working with icons in the Direct Draw Surface (DDS) file format. More...

#include <FXDDSIcon.h>

Inheritance diagram for FX::FXDDSIcon:

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

List of all members.

Public Member Functions

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

Static Public Attributes

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


Detailed Description

The DDS Icon class is a convenience class for working with icons in the Direct Draw Surface (DDS) file format.

Constructor & Destructor Documentation

FX::FXDDSIcon::FXDDSIcon ( 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 DDS format.

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

Destroy icon.


Member Function Documentation

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

Save pixels into stream in DDS format.

Reimplemented from FX::FXImage.

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

Load pixels from stream in DDS format.

Reimplemented from FX::FXImage.


Member Data Documentation

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

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

Copyright © 1997-2009 Jeroen van der Zijp