summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2018-03-26 08:20:17 +0000
committerManolo Gouy <Manolo>2018-03-26 08:20:17 +0000
commit77cc7b147ae1a8610f7531263e81dc0fb949c830 (patch)
tree3703bde269ea6941058456b165c113302eb3a0bf /FL
parentca8f680000de97dd03e4e37119f9c9e8ed6f3de6 (diff)
Documentation: give more detail for Fl_Image::w(int W) and Fl_Image::h(int H)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12802 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Image.H4
1 files changed, 4 insertions, 0 deletions
diff --git a/FL/Fl_Image.H b/FL/Fl_Image.H
index beb22f719..41783639d 100644
--- a/FL/Fl_Image.H
+++ b/FL/Fl_Image.H
@@ -82,10 +82,14 @@ protected:
/**
Sets the width of the image data.
+ This protected function sets both image widths: the width of the image data returned by data_w() and
+ the image drawing width in FLTK units returned by w().
*/
void w(int W) {w_ = W; data_w_ = W;}
/**
Sets the height of the image data.
+ This protected function sets both image heights: the height of the image data returned by data_h() and
+ the image drawing height in FLTK units returned by h().
*/
void h(int H) {h_ = H; data_h_ = H;}
/**