summaryrefslogtreecommitdiff
path: root/src/Fl_Progress.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Progress.cxx')
-rw-r--r--src/Fl_Progress.cxx14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/Fl_Progress.cxx b/src/Fl_Progress.cxx
index 69e76492c..ee311a326 100644
--- a/src/Fl_Progress.cxx
+++ b/src/Fl_Progress.cxx
@@ -25,6 +25,7 @@
// http://www.fltk.org/str.php
//
// Contents:
+
//
// Fl_Progress::draw() - Draw the check button.
// Fl_Progress::Fl_Progress() - Construct a Fl_Progress widget.
@@ -49,6 +50,7 @@
// 'Fl_Progress::draw()' - Draw the check button.
//
+/** Draws the check button. */
void Fl_Progress::draw()
{
int progress; // Size of progress bar...
@@ -96,13 +98,13 @@ void Fl_Progress::draw()
}
-//
-// 'Fl_Progress::Fl_Progress()' - Construct a Fl_Progress widget.
-//
-
+/**
+ The constructor creates the progress bar using the position,
+ size, and label.
+ <P> The inherited destructor removes the progress bar.
+*/
Fl_Progress::Fl_Progress(int X, int Y, int W, int H, const char* l)
-: Fl_Widget(X, Y, W, H, l)
-{
+: Fl_Widget(X, Y, W, H, l) {
align(FL_ALIGN_INSIDE);
box(FL_DOWN_BOX);
color(FL_BACKGROUND2_COLOR, FL_YELLOW);