summaryrefslogtreecommitdiff
path: root/FL/Fl_Widget.H
diff options
context:
space:
mode:
Diffstat (limited to 'FL/Fl_Widget.H')
-rw-r--r--FL/Fl_Widget.H3
1 files changed, 2 insertions, 1 deletions
diff --git a/FL/Fl_Widget.H b/FL/Fl_Widget.H
index 41deefba5..fab179f7b 100644
--- a/FL/Fl_Widget.H
+++ b/FL/Fl_Widget.H
@@ -811,7 +811,8 @@ public:
void damage(uchar c, int x, int y, int w, int h);
void draw_label(int, int, int, int, Fl_Align) const;
- void measure_label(int& xx, int& yy) {label_.measure(xx,yy);}
+ /** Sets width ww, height hh accordingly with the labeltype size, label with images will return w() h() of the image. */
+ void measure_label(int& ww, int& hh) {label_.measure(ww, hh);}
/** Returns a pointer to the primary Fl_Window widget.
* \retval NULL if no window is associated with this widget.