virtual FXImage* FX::FXIconSource::loadImageFile ( const FXString filename,
const FXString type = FXString::null 
) const [virtual]

Load an image from the file filename. By default, the file extension is stripped and used as the image type; if an explicit image type is forced, then that type is used and the extension is ignored. For example, loadImage("image","gif") will try to load a CompuServe GIF file, since the filename does not give any clue as to the type of the image.


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