Minor documentation fixes.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10751 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Albrecht Schlosser 2015-06-14 17:07:31 +00:00
parent a097978096
commit 77d272948c
4 changed files with 20 additions and 20 deletions

View File

@ -57,11 +57,11 @@ static unsigned int read_dword(FILE *fp);
/**
The constructor loads the named BMP image from the given bmp filename.
The inherited destructor frees all memory and server resources that are
used by the image.
The destructor frees all memory and server resources that are used by
the image.
Use Fl_Image::fail() to check if Fl_BMP_Image failed to load. fail() returns
ERR_FILE_ACCESS if the file could not bo opened or read, ERR_FORMAT if the
ERR_FILE_ACCESS if the file could not be opened or read, ERR_FORMAT if the
BMP format could not be decoded, and ERR_NO_IMAGE if the image could not
be loaded for another reason.
*/

View File

@ -3,7 +3,7 @@
//
// Fl_GIF_Image routines.
//
// Copyright 1997-2010 by Bill Spitzak and others.
// Copyright 1997-2015 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@ -73,11 +73,11 @@ typedef unsigned char uchar;
/**
The constructor loads the named GIF image.
The inherited destructor free all memory and server resources that are used
by the image.
The destructor frees all memory and server resources that are used by
the image.
Use Fl_Image::fail() to check if Fl_BMP_Image failed to load. fail() returns
ERR_FILE_ACCESS if the file could not bo opened or read, ERR_FORMAT if the
Use Fl_Image::fail() to check if Fl_GIF_Image failed to load. fail() returns
ERR_FILE_ACCESS if the file could not be opened or read, ERR_FORMAT if the
GIF format could not be decoded, and ERR_NO_IMAGE if the image could not
be loaded for another reason.
*/

View File

@ -76,8 +76,8 @@ extern "C" {
The destructor frees all memory and server resources that are used by
the image.
Use Fl_Image::fail() to check if Fl_BMP_Image failed to load. fail() returns
ERR_FILE_ACCESS if the file could not bo opened or read, ERR_FORMAT if the
Use Fl_Image::fail() to check if Fl_PNG_Image failed to load. fail() returns
ERR_FILE_ACCESS if the file could not be opened or read, ERR_FORMAT if the
PNG format could not be decoded, and ERR_NO_IMAGE if the image could not
be loaded for another reason.

View File

@ -41,11 +41,11 @@
/**
The constructor loads the named PNM image.
The inherited destructor free all memory and server resources that are used by
The destructor frees all memory and server resources that are used by
the image.
Use Fl_Image::fail() to check if Fl_BMP_Image failed to load. fail() returns
ERR_FILE_ACCESS if the file could not bo opened or read, ERR_FORMAT if the
Use Fl_Image::fail() to check if Fl_PNM_Image failed to load. fail() returns
ERR_FILE_ACCESS if the file could not be opened or read, ERR_FORMAT if the
PNM format could not be decoded, and ERR_NO_IMAGE if the image could not
be loaded for another reason.
*/