diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2011-01-17 22:42:34 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2011-01-17 22:42:34 +0000 |
| commit | b841d90d3cdd2b27f9eeb80430a06cf73d4dd2b4 (patch) | |
| tree | 9d2e28ad499c3c0955a68dc30124c5160689a8f0 /src/Fl_JPEG_Image.cxx | |
| parent | 0ae1054d07bb0b24061243253c1a4a997df68dd0 (diff) | |
Documentation updates (remaining fix for STR #2520).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8288 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_JPEG_Image.cxx')
| -rw-r--r-- | src/Fl_JPEG_Image.cxx | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/Fl_JPEG_Image.cxx b/src/Fl_JPEG_Image.cxx index e9590efd6..fa93cf441 100644 --- a/src/Fl_JPEG_Image.cxx +++ b/src/Fl_JPEG_Image.cxx @@ -3,7 +3,7 @@ // // Fl_JPEG_Image routines. // -// Copyright 1997-2010 by Easy Software Products. +// Copyright 1997-2011 by Easy Software Products. // Image support by Matthias Melcher, Copyright 2000-2009. // // This library is free software; you can redistribute it and/or @@ -267,19 +267,16 @@ static void jpeg_mem_src(j_decompress_ptr cinfo, const unsigned char *data) /** \brief The constructor loads the JPEG image from memory. - + The inherited destructor frees all memory and server resources that are used by the image. - + 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 should provide a unique name for this image. + + \param name The 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. + \param data A pointer to the memory location of the JPEG image */ Fl_JPEG_Image::Fl_JPEG_Image(const char *name, const unsigned char *data) : Fl_RGB_Image(0,0,0) { |
