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

FX::FXJPGIcon Class Reference

JPEG Icon class. More...

#include <FXJPGIcon.h>

Inheritance diagram for FX::FXJPGIcon:

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

Public Member Functions

 FXJPGIcon (FXApp *a, const void *pix=NULL, FXColor clr=FXRGB(192, 192, 192), FXuint opts=0, FXint w=1, FXint h=1)
virtual FXbool savePixels (FXStream &store) const
virtual FXbool loadPixels (FXStream &store)
void setQuality (FXint q)
FXint getQuality () const
virtual ~FXJPGIcon ()

Detailed Description

JPEG Icon class.


Constructor & Destructor Documentation

FX::FXJPGIcon::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 FX::FXJPGIcon::~FXJPGIcon  )  [virtual]
 

Destroy.


Member Function Documentation

virtual FXbool FX::FXJPGIcon::savePixels FXStream store  )  const [virtual]
 

Save pixels into stream in JPEG format.

Reimplemented from FX::FXImage.

virtual FXbool FX::FXJPGIcon::loadPixels FXStream store  )  [virtual]
 

Load pixels from stream in JPEG format.

Reimplemented from FX::FXImage.

void FX::FXJPGIcon::setQuality FXint  q  )  [inline]
 

Set image quality to save with.

FXint FX::FXJPGIcon::getQuality  )  const [inline]
 

Get image quality setting.

Copyright © 1997-2004 Jeroen van der Zijp