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

FX::FXJPGIcon Class Reference

JPEG Icon class.

#include <FXJPGIcon.h>

Inheritance diagram for FX::FXJPGIcon:

FX::FXIcon FX::FXImage FX::FXDrawable FX::FXId FX::FXObject List of all members.

Public Methods

 FXJPGIcon (FXApp *a, const void *pix=NULL, FXColor clr=FXRGB(192, 192, 192), FXuint opts=0, FXint w=1, FXint h=1)
 Construct an icon from memory stream formatted in JPEG format.

virtual FXbool savePixels (FXStream &store) const
 Save pixels into stream in JPEG format.

virtual FXbool loadPixels (FXStream &store)
 Load pixels from stream in JPEG format.

void setQuality (FXint q)
 Set image quality to save with.

FXint getQuality () const
 Get image quality setting.

virtual ~FXJPGIcon ()
 Destroy.