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

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


(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