FXIcon

class FXIcon

Icon class

Inheritance:


Public Methods

[more] FXIcon(FXApp* a, const void* pix=NULL, FXColor clr=0, FXuint opts=0, FXint w=1, FXint h=1)
Create an icon with an initial pixel buffer pix, a transparent color clr, and options as in FXImage
[more]virtual void create()
Create the icon resource
[more]virtual void detach()
Detach the icon resource
[more]virtual void destroy()
Destroy the icon resource
[more]virtual void render()
Render the image from client-side pixel buffer
[more]virtual void resize(FXint w, FXint h)
Resize pixmap to the specified width and height
[more]FXColor getTransparentColor() const
Obtain transparency color
[more]void setTransparentColor(FXColor color)
Change transparency color
[more]virtual ~FXIcon()
Destructor


Inherited from FXImage:

Public Methods

oFXuchar* getData() const
oFXuint getOptions() const
ovoid setOptions(FXuint opts)
oFXint getChannels() const
oFXColor getPixel(FXint x, FXint y) const
ovoid setPixel(FXint x, FXint y, FXColor color)
ovirtual void restore()
ovirtual void scale(FXint w, FXint h)
ovirtual void mirror(FXbool horizontal, FXbool vertical)
ovirtual void rotate(FXint degrees)
ovirtual void crop(FXint x, FXint y, FXint w, FXint h)
ovirtual void save(FXStream& store) const
ovirtual void load(FXStream& store)
ovirtual void savePixels(FXStream& store) const
ovirtual void loadPixels(FXStream& store)


Inherited from FXDrawable:

Public Methods

oFXint getWidth() const
oFXint getHeight() const
oFXVisual* getVisual() const
ovoid setVisual(FXVisual* vis)


Inherited from FXId:

Public Methods

oFXApp* getApp() const
oFXID id() const
ovoid setUserData(void* ptr)
ovoid* getUserData() const


Inherited from FXObject:

Public Methods

oconst FXchar* getClassName() const
oFXbool isMemberOf(const FXMetaClass* metaclass) const


Documentation

Icon class
o FXIcon(FXApp* a, const void* pix=NULL, FXColor clr=0, FXuint opts=0, FXint w=1, FXint h=1)
Create an icon with an initial pixel buffer pix, a transparent color clr, and options as in FXImage

ovirtual void create()
Create the icon resource

ovirtual void detach()
Detach the icon resource

ovirtual void destroy()
Destroy the icon resource

ovirtual void render()
Render the image from client-side pixel buffer

ovirtual void resize(FXint w, FXint h)
Resize pixmap to the specified width and height

oFXColor getTransparentColor() const
Obtain transparency color

ovoid setTransparentColor(FXColor color)
Change transparency color

ovirtual ~FXIcon()
Destructor


Direct child classes:
FXXPMIcon
FXTIFIcon
FXTGAIcon
FXRGBIcon
FXPNGIcon
FXPCXIcon
FXJPGIcon
FXICOIcon
FXGIFIcon
FXBMPIcon
Friends:
class FXDCWindow
class FXDrawable
class FXTopWindow

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.