summaryrefslogtreecommitdiff
path: root/src/Fl_Wizard.cxx
diff options
context:
space:
mode:
authorFabien Costantini <fabien@onepost.net>2008-09-15 16:39:05 +0000
committerFabien Costantini <fabien@onepost.net>2008-09-15 16:39:05 +0000
commitb8955a9ced0270ec7aa7052e6e0852cae140ca27 (patch)
tree2432866aeda02a7c0cfa93e04a2d0c3b802a6033 /src/Fl_Wizard.cxx
parent09f3094aef152ece5bf802983d54f1642d803e0d (diff)
Doxygen documentation WP11 Done!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6255 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Wizard.cxx')
-rw-r--r--src/Fl_Wizard.cxx55
1 files changed, 20 insertions, 35 deletions
diff --git a/src/Fl_Wizard.cxx b/src/Fl_Wizard.cxx
index cf88f9058..6d48ebc45 100644
--- a/src/Fl_Wizard.cxx
+++ b/src/Fl_Wizard.cxx
@@ -25,6 +25,7 @@
// http://www.fltk.org/str.php
//
// Contents:
+
//
// Fl_Wizard::Fl_Wizard() - Create an Fl_Wizard widget.
// Fl_Wizard::draw() - Draw the wizard border and visible child.
@@ -47,6 +48,11 @@
// 'Fl_Wizard::Fl_Wizard()' - Create an Fl_Wizard widget.
//
+/**
+ The constructor creates the Fl_Wizard widget at the specified
+ position and size.
+ <P>The inherited destructor destroys the widget and its children.
+*/
Fl_Wizard::Fl_Wizard(int xx, // I - Lefthand position
int yy, // I - Upper position
int ww, // I - Width
@@ -61,12 +67,8 @@ Fl_Wizard::Fl_Wizard(int xx, // I - Lefthand position
//
-// 'Fl_Wizard::draw()' - Draw the wizard border and visible child.
-//
-
-void
-Fl_Wizard::draw()
-{
+/** Draws the wizard border and visible child. */
+void Fl_Wizard::draw() {
Fl_Widget *kid; // Visible child
@@ -89,13 +91,11 @@ Fl_Wizard::draw()
}
-//
-// 'Fl_Wizard::next()' - Show the next child.
-//
-
-void
-Fl_Wizard::next()
-{
+/**
+ This method shows the next child of the wizard. If the last child
+ is already visible, this function does nothing.
+*/
+void Fl_Wizard::next() {
int num_kids;
Fl_Widget * const *kids;
@@ -111,14 +111,8 @@ Fl_Wizard::next()
value(kids[1]);
}
-
-//
-// 'Fl_Wizard::prev()' - Show the previous child.
-//
-
-
-void
-Fl_Wizard::prev()
+/** Shows the previous child.*/
+void Fl_Wizard::prev()
{
int num_kids;
Fl_Widget * const *kids;
@@ -135,13 +129,8 @@ Fl_Wizard::prev()
value(kids[-1]);
}
-
-//
-// 'Fl_Wizard::value()' - Return the current visible child.
-//
-
-Fl_Widget *
-Fl_Wizard::value()
+/** Gets the current visible child widget. */
+Fl_Widget* Fl_Wizard::value()
{
int num_kids;
Fl_Widget * const *kids;
@@ -172,13 +161,8 @@ Fl_Wizard::value()
return (kid);
}
-
-//
-// 'Fl_Wizard::value()' - Set the visible child.
-//
-
-void
-Fl_Wizard::value(Fl_Widget *kid)
+/** Sets the child widget that is visible.*/
+void Fl_Wizard::value(Fl_Widget *kid)
{
int num_kids;
Fl_Widget * const *kids;
@@ -205,6 +189,7 @@ Fl_Wizard::value(Fl_Widget *kid)
}
+
//
// End of "$Id$".
//