FX::FXIcon::FXIcon ( FXApp a,
const FXColor 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. The transparent color is used to determine which pixel values are transparent, i.e. need to be masked out in the absence of a true alpha channel. If the flag IMAGE_OPAQUE is passed, the shape and etch bitmaps are generated as if the image is fully opaque, even if it has an alpha channel or transparancy color. The flag IMAGE_ALPHACOLOR is used to force a specific alpha color instead of the alpha channel obtained from the image file. Specifying IMAGE_ALPHAGUESS causes Icon to obtain the alpha color from the background color of the image; it has the same effect as IMAGE_ALPHACOLOR in the sense that the icon will be transparent for those colors matching the alpha color.


(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:34:22 2009 for TnFOX by doxygen v1.4.7