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

FXCURCursor.h File Reference

#include "FXCursor.h"

Go to the source code of this file.

Namespaces

namespace  FX

Functions

bool fxcheckICO (FXStream &store)
bool fxloadICO (FXStream &store, FXColor *&data, FXint &width, FXint &height, FXint &xspot, FXint &yspot)
bool fxsaveICO (FXStream &store, const FXColor *data, FXint width, FXint height, FXint xspot=-1, FXint yspot=-1)


Function Documentation

bool FX::fxcheckICO FXStream &  store  ) 
 

Check if stream contains a ICO, return TRUE if so.

bool FX::fxloadICO FXStream &  store,
FXColor *&  data,
FXint width,
FXint height,
FXint xspot,
FXint yspot
 

Load an ICO (Microsoft icon format) file from a stream.

Upon successful return, the pixel array and size are returned. If an error occurred, the pixel array is set to NULL.

bool FX::fxsaveICO FXStream &  store,
const FXColor data,
FXint  width,
FXint  height,
FXint  xspot = -1,
FXint  yspot = -1
 

Save an ICO (Microsoft icon format) file to a stream.

If no hot-spot given, save as an ICO instead of a CUR resource.

Copyright © 1997-2005 Jeroen van der Zijp