mod/maxgui.mod/fltkmaxgui.mod/src/Fl_File_Icon2.cxx
void
Fl_File_Icon::load(const char *f)	// I - File to read from
{
  int		i;			// Load status...
  const char	*ext;			// File extension


  ext = fl_filename_ext(f);

  if (ext && strcmp(ext, ".fti") == 0)
    i = load_fti(f);
  else
    i = load_image(f);

  if (i)
  {
    Fl::warning("Fl_File_Icon::load(): Unable to load icon file \"%s\".", f);
    return;
  }
}
/**
  Loads the specified icon image. The format is deduced from the filename.
  \param[in] f filename
*/
Loads the specified icon image. The format is deduced from the filename.
\param[in] f filename
Loads the specified icon image . The format is deduced from the filename . \ param [ in ] f filename
void
Fl_File_Icon::load(const char *f)	
{
  int		i;			
  const char	*ext;			
  ext = fl_filename_ext(f);
  if (ext && strcmp(ext, ".fti") == 0)
    i = load_fti(f);
  else
    i = load_image(f);
  if (i)
  {
    Fl::warning("Fl_File_Icon::load(): Unable to load icon file \"%s\".", f);
    return;
  }
}
void Fl_File_Icon :: load ( const char * f ) { int i ; const char * ext ; ext = fl_filename_ext ( f ) ; if ( ext && strcmp ( ext , " " ) == 0 ) i = load_fti ( f ) ; else i = load_image ( f ) ; if ( i ) { Fl :: warning ( " \" \" " , f ) ; return ; } }
Loads the specified icon image.
Loads the specified icon image .
// I - File to read from // Load status... // File extension