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

FX::FXDDSImage Class Reference

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

#include <FXDDSImage.h>

Inheritance diagram for FX::FXDDSImage:

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

List of all members.

Public Member Functions

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

Static Public Attributes

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


Detailed Description

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

Constructor & Destructor Documentation

FX::FXDDSImage::FXDDSImage ( FXApp a,
const void *  pix = NULL,
FXuint  opts = 0,
FXint  w = 1,
FXint  h = 1 
)

Construct image from memory stream formatted in DDS format.

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

Destroy icon.


Member Function Documentation

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

Save pixels into stream in DDS format.

Reimplemented from FX::FXImage.

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

Load pixels from stream in DDS format.

Reimplemented from FX::FXImage.


Member Data Documentation

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

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

Copyright © 1997-2009 Jeroen van der Zijp