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

FX::FXGIFCursor Class Reference

GIF Cursor class. More...

#include <FXGIFCursor.h>

Inheritance diagram for FX::FXGIFCursor:

FX::FXCursor FX::FXId FX::FXObject

List of all members.

Public Member Functions

 FXGIFCursor (FXApp *a, const void *pix, FXint hx=0, FXint hy=0)
virtual FXbool savePixels (FXStream &store) const
virtual FXbool loadPixels (FXStream &store)
virtual ~FXGIFCursor ()

Static Public Attributes

static const FXchar fileExt []


Detailed Description

GIF Cursor class.

Constructor & Destructor Documentation

FX::FXGIFCursor::FXGIFCursor ( FXApp a,
const void *  pix,
FXint  hx = 0,
FXint  hy = 0 
)

Construct a cursor from memory stream in Compuserve GIF format.

Hot spot may be specified using hx and hy parameters, since the GIF format does not specify a hot spot. The image must be smaller than 32x32 pixels.

virtual FX::FXGIFCursor::~FXGIFCursor (  )  [inline, virtual]

Destroy.


Member Function Documentation

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

Save pixel data only, in GIF format.

Reimplemented from FX::FXCursor.

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

Load pixel data only, in GIF format.

Reimplemented from FX::FXCursor.


Member Data Documentation

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

Copyright © 1997-2009 Jeroen van der Zijp