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)
 Construct a cursor from memory stream in Compuserve GIF format.
virtual FXbool savePixels (FXStream &store) const
 Save pixel data only, in GIF format.
virtual FXbool loadPixels (FXStream &store)
 Load pixel data only, in GIF format.
virtual ~FXGIFCursor ()
 Destroy.

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.


The documentation for this class was generated from the following file:

Copyright © 1997-2011 Jeroen van der Zijp