summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2011-01-13 16:50:36 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2011-01-13 16:50:36 +0000
commit0c896c024c10390dc080a2320fd566ab216ab78a (patch)
tree550cee8eda7ffff690f4a1602617f143145abdc1 /src
parent129ae3ecd0bf543d28fd166dc9417eaf46090e32 (diff)
Fixed typos, added \todo ... (see STR #2520).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8271 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_JPEG_Image.cxx10
1 files 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) {