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

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.

Copyright © 1997-2004 Jeroen van der Zijp