summaryrefslogtreecommitdiff
path: root/src/fl_labeltype.cxx
diff options
context:
space:
mode:
authorFabien Costantini <fabien@onepost.net>2008-10-03 07:48:38 +0000
committerFabien Costantini <fabien@onepost.net>2008-10-03 07:48:38 +0000
commitbd882119e79d08ef2477b1db76f8a0a5735a6f93 (patch)
tree55f5f158e184b706285cdc3898f13f0b453402b4 /src/fl_labeltype.cxx
parenta95a1f01a9fccfe126f4a135596e151ea4e6cd1d (diff)
Doxygen documentation : minor comment fixes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6365 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_labeltype.cxx')
-rw-r--r--src/fl_labeltype.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/fl_labeltype.cxx b/src/fl_labeltype.cxx
index 92a0d00e9..6f7f00545 100644
--- a/src/fl_labeltype.cxx
+++ b/src/fl_labeltype.cxx
@@ -87,7 +87,11 @@ void Fl_Label::draw(int X, int Y, int W, int H, Fl_Align align) const {
if (!value && !image) return;
table[type](this, X, Y, W, H, align);
}
-/** Gets the size of the label W and H contains the calculated size at return. */
+/**
+ Measures the size of the label.
+ \param W, H in out : this is the requested size for the label text plus image;
+ on return, this will contain the size needed to fit the label
+*/
void Fl_Label::measure(int& W, int& H) const {
if (!value && !image) {
W = H = 0;