summaryrefslogtreecommitdiff
path: root/src/Fl_Pack.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2023-02-10 13:13:36 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2023-02-10 13:13:36 +0100
commit2239ecc4a18452521f079b697cbc0305536a7f81 (patch)
tree4f2fab0e89444d34fe25121d38e89e91f4268a38 /src/Fl_Pack.cxx
parenta3251b3208744f77e2589eb36cbf2df2a15bee4f (diff)
Fix typos in documentation and comments
(no code changes)
Diffstat (limited to 'src/Fl_Pack.cxx')
-rw-r--r--src/Fl_Pack.cxx15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/Fl_Pack.cxx b/src/Fl_Pack.cxx
index 5750c2255..dc6a4758b 100644
--- a/src/Fl_Pack.cxx
+++ b/src/Fl_Pack.cxx
@@ -1,7 +1,7 @@
//
// Packing widget for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2020 by Bill Spitzak and others.
+// Copyright 1998-2023 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -41,7 +41,6 @@
\param[in] X,Y X and Y coordinates (position)
\param[in] W,H width and height, respectively
\param[in] L label (optional)
-
*/
Fl_Pack::Fl_Pack(int X, int Y, int W, int H, const char *L)
: Fl_Group(X, Y, W, H, L) {
@@ -153,16 +152,14 @@ void Fl_Pack::draw() {
}
}
-/** Override Fl_Group resize behaviour.
+/** Override Fl_Group resize behavior.
- Resizing a Pack will not resize any of its children, but trigger a redraw,
- which in turn recalculates the dimensions of all children.
+ Resizing an Fl_Pack will not resize any of its children, but trigger a
+ redraw, which in turn recalculates the dimensions of all children.
- \param[in] X, Y, W, H new posistion and size of Pack
- */
+ \param[in] X, Y, W, H new position and size of the Fl_Pack widget
+*/
void Fl_Pack::resize(int X, int Y, int W, int H) {
Fl_Widget::resize(X, Y, W, H);
redraw();
}
-
-