summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2014-02-08 01:10:44 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2014-02-08 01:10:44 +0000
commitdf2a448ee308ccec998b8c76a19fe8cbf880a9ca (patch)
tree0616842b9d486cea33aaf56e30fb4ec4aa75752a /FL
parentef952dfa5366cb4c7a7109b63629ea02a7fc576d (diff)
Clarify docs of Fl_Widget::measure_label().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10096 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Widget.H4
1 files changed, 4 insertions, 0 deletions
diff --git a/FL/Fl_Widget.H b/FL/Fl_Widget.H
index d4bf6ff53..6f55652b4 100644
--- a/FL/Fl_Widget.H
+++ b/FL/Fl_Widget.H
@@ -916,6 +916,10 @@ public:
/** Sets width ww and height hh accordingly with the label size.
Labels with images will return w() and h() of the image.
+
+ This calls fl_measure() internally. For more information about
+ the arguments \p ww and \p hh and word wrapping
+ \see fl_measure(const char*, int&, int&, int)
*/
void measure_label(int& ww, int& hh) const {label_.measure(ww, hh);}