From 0c896c024c10390dc080a2320fd566ab216ab78a Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Thu, 13 Jan 2011 16:50:36 +0000 Subject: Fixed typos, added \todo ... (see STR #2520). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8271 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_JPEG_Image.cxx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/Fl_JPEG_Image.cxx b/src/Fl_JPEG_Image.cxx index 936e9f8a7..e9590efd6 100644 --- a/src/Fl_JPEG_Image.cxx +++ b/src/Fl_JPEG_Image.cxx @@ -98,7 +98,7 @@ extern "C" { There is no error function in this class. If the image has loaded correctly, w(), h(), and d() should return values greater zero. - \param filename a full path and name pointing to a valid jpeg file. + \param[in] filename a full path and name pointing to a valid jpeg file. */ Fl_JPEG_Image::Fl_JPEG_Image(const char *filename) // I - File to load : Fl_RGB_Image(0,0,0) { @@ -274,8 +274,12 @@ static void jpeg_mem_src(j_decompress_ptr cinfo, const unsigned char *data) There is no error function in this class. If the image has loaded correctly, w(), h(), and d() should return values greater zero. - \param name developer shoud provide a unique name for this image - \param data a pointer to the memorry location of the jpeg image + \param name developer should provide a unique name for this image. + Note: currently this is not used! + \param data a pointer to the memory location of the jpeg image + + \todo The documentation of parameter \p name specifies that a unique name + should be provided, but it is not used in the constructor. */ Fl_JPEG_Image::Fl_JPEG_Image(const char *name, const unsigned char *data) : Fl_RGB_Image(0,0,0) { -- cgit v1.2.3