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

@ -54,14 +54,14 @@ static unsigned short read_word(FILE *fp);
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
@ -70,14 +70,14 @@ typedef unsigned char uchar;
#define NEXTBYTE (uchar)getc(GifFile)
#define GETSHORT(var) var = NEXTBYTE; var += NEXTBYTE << 8
/**
/**
The constructor loads the named GIF image.
The inherited destructor free 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
The destructor frees all memory and server resources that are used by
the image.
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

@ -38,14 +38,14 @@
//
/**
/**
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.
*/