Skip to content

Commit

Permalink
Documentation: give more detail for Fl_Image::w(int W) and Fl_Image::…
Browse files Browse the repository at this point in the history
…h(int H)

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12802 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Manolo Gouy authored and Manolo Gouy committed Mar 26, 2018
1 parent ca8f680 commit 77cc7b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions FL/Fl_Image.H
Expand Up @@ -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;}
/**
Expand Down

0 comments on commit 77cc7b1

Please sign in to comment.