![]() |
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 bool | savePixels (FXStream &store) const |
| virtual bool | loadPixels (FXStream &store) |
| virtual | ~FXJPGIcon () |
Static Public Attributes | |
| static const FXchar | fileExt [] |
| static const FXchar | mimeType [] |
| static const bool | 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.
| virtual bool FX::FXJPGIcon::savePixels | ( | FXStream & | store | ) | const [virtual] |
| virtual bool FX::FXJPGIcon::loadPixels | ( | FXStream & | store | ) | [virtual] |
const FXchar FX::FXJPGIcon::fileExt[] [static] |
const FXchar FX::FXJPGIcon::mimeType[] [static] |
const bool FX::FXJPGIcon::supported [static] |
True if format is supported.
|
|