From ce4d0fd5d86a1f725aba6093d9674b993d437d6c Mon Sep 17 00:00:00 2001 From: Fabien Costantini Date: Sun, 14 Sep 2008 15:45:27 +0000 Subject: Doxygen Documentation WP4 Done. Has all documentation content but should be completed in increment 2. Registered for WP5. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6239 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_File_Icon2.cxx | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) (limited to 'src/Fl_File_Icon2.cxx') diff --git a/src/Fl_File_Icon2.cxx b/src/Fl_File_Icon2.cxx index 7ab1bda72..303c0e1f5 100644 --- a/src/Fl_File_Icon2.cxx +++ b/src/Fl_File_Icon2.cxx @@ -98,10 +98,7 @@ static char *get_kde_val(char *str, const char *key); static const char *kdedir = NULL; -// -// 'Fl_File_Icon::load()' - Load an icon file... -// - +/** Loads the specified icon image. The format is deduced from the filename.*/ void Fl_File_Icon::load(const char *f) // I - File to read from { @@ -124,10 +121,7 @@ Fl_File_Icon::load(const char *f) // I - File to read from } -// -// 'Fl_File_Icon::load_fti()' - Load an SGI-format FTI file... -// - +/** Loads an SGI icon file.*/ int // O - 0 on success, non-zero on error Fl_File_Icon::load_fti(const char *fti) // I - File to read from { @@ -341,12 +335,8 @@ Fl_File_Icon::load_fti(const char *fti) // I - File to read from } -// -// 'Fl_File_Icon::load_image()' - Load an image icon file... -// - -int // O - 0 on success, non-0 on error -Fl_File_Icon::load_image(const char *ifile) // I - File to read from +/** Load an image icon file from an image filename. Returns 0 on success, non-0 on error. */ +int Fl_File_Icon::load_image(const char *ifile) // I - File to read from { Fl_Shared_Image *img; // Image file @@ -587,9 +577,14 @@ Fl_File_Icon::load_image(const char *ifile) // I - File to read from } -// -// 'Fl_File_Icon::load_system_icons()' - Load the standard system icons/filetypes. - +/** Loads all system-defined icons. This call is useful when using the + FileChooser widget and should be used when the application + starts: + + +*/ void Fl_File_Icon::load_system_icons(void) { int i; // Looping var -- cgit v1.2.3