mirror of
https://github.com/fltk/fltk.git
synced 2026-05-30 13:05:35 +08:00
Clarify docs of Fl_Widget::measure_label().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10096 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -916,6 +916,10 @@ public:
|
|||||||
|
|
||||||
/** Sets width ww and height hh accordingly with the label size.
|
/** Sets width ww and height hh accordingly with the label size.
|
||||||
Labels with images will return w() and h() of the image.
|
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);}
|
void measure_label(int& ww, int& hh) const {label_.measure(ww, hh);}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user