![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXJPGIcon.h>
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, FXint q=75) | |
void | setQuality (FXint q) |
FXint | getQuality () const |
virtual FXbool | savePixels (FXStream &store) const |
virtual FXbool | loadPixels (FXStream &store) |
virtual | ~FXJPGIcon () |
Static Public Attributes | |
static const FXchar | fileExt [] |
static const FXchar | mimeType [] |
static const FXbool | supported |
FX::FXJPGIcon::FXJPGIcon | ( | FXApp * | a, | |
const void * | pix = NULL , |
|||
FXColor | clr = FXRGB(192, 192, 192) , |
|||
FXuint | opts = 0 , |
|||
FXint | w = 1 , |
|||
FXint | h = 1 , |
|||
FXint | q = 75 | |||
) |
Construct an icon from memory stream formatted in JPEG format.
virtual FX::FXJPGIcon::~FXJPGIcon | ( | ) | [virtual] |
Destroy.
void FX::FXJPGIcon::setQuality | ( | FXint | q | ) | [inline] |
Set image quality to save with.
FXint FX::FXJPGIcon::getQuality | ( | ) | const [inline] |
Get image quality setting.
const FXchar FX::FXJPGIcon::fileExt[] [static] |
const FXchar FX::FXJPGIcon::mimeType[] [static] |
const FXbool FX::FXJPGIcon::supported [static] |
True if format is supported.
![]() |