From 1c7daeca631f6bbf88b99f9ecd79a5cedd64f550 Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Tue, 28 Apr 2015 20:51:32 +0000 Subject: Doc clarifications for Fl_Image methods: > inactive() > desaturate() > color_average() git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10725 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Image.H | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'FL') diff --git a/FL/Fl_Image.H b/FL/Fl_Image.H index 6890a9356..e099741c1 100644 --- a/FL/Fl_Image.H +++ b/FL/Fl_Image.H @@ -140,8 +140,10 @@ class FL_EXPORT Fl_Image { /** The inactive() method calls color_average(FL_BACKGROUND_COLOR, 0.33f) to produce - an image that appears grayed out. This method does not - alter the original image data. + an image that appears grayed out. + + An internal copy is made of the original image before + changes are applied, to avoid modifying the original image. */ void inactive() { color_average(FL_GRAY, .33f); } virtual void desaturate(); -- cgit v1.2.3