summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2018-04-26 12:11:26 +0000
committerManolo Gouy <Manolo>2018-04-26 12:11:26 +0000
commitcd3d1f9dd512441fa3ef79daf93d6a8a6876eee7 (patch)
tree7cbbfce194636eedc6f00b0fc26cc9c645fc8bab
parent9c389d34f981b06affdb63fd5fdf20da61283277 (diff)
Documentation: complete doc of Fl_Image_Surface::offscreen()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12875 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--src/Fl_Image_Surface.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Fl_Image_Surface.cxx b/src/Fl_Image_Surface.cxx
index 0f77006c2..41c7c1eac 100644
--- a/src/Fl_Image_Surface.cxx
+++ b/src/Fl_Image_Surface.cxx
@@ -72,7 +72,8 @@ void Fl_Image_Surface::untranslate() {
}
/** Returns the Fl_Offscreen object associated to the image surface.
- The returned Fl_Offscreen object is deleted when the Fl_Image_Surface object is deleted.
+ The returned Fl_Offscreen object is deleted when the Fl_Image_Surface object is deleted,
+ unless the Fl_Image_Surface was constructed with non-null Fl_Offscreen argument.
*/
Fl_Offscreen Fl_Image_Surface::offscreen() {
return platform_surface ? platform_surface->offscreen : (Fl_Offscreen)0;