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

FXJPGIcon Class Reference

JPEG Icon class.

#include <FXJPGIcon.h>

Inheritance diagram for FXJPGIcon:

FXIcon FXImage FXDrawable FXId 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 void savePixels (FXStream &store) const
 Save pixels into stream in JPEG format.

virtual void 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.