summaryrefslogtreecommitdiff
path: root/FL/Fl_Clock.H
diff options
context:
space:
mode:
authorFabien Costantini <fabien@onepost.net>2008-10-15 11:27:29 +0000
committerFabien Costantini <fabien@onepost.net>2008-10-15 11:27:29 +0000
commitd272c1b43fc60f284591e7121f8813969374a7b3 (patch)
tree2176d9e7210dc36f0e6b405369d1da1c728e8bb7 /FL/Fl_Clock.H
parentdc7808d4da833b224bc5f5c4197f0a11a6127000 (diff)
Doxygen PDF Documentation: Added image latex tags, added missing eps corresponding images (most of them in B/W) for the widget classes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6437 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Clock.H')
-rw-r--r--FL/Fl_Clock.H27
1 files changed, 20 insertions, 7 deletions
diff --git a/FL/Fl_Clock.H b/FL/Fl_Clock.H
index 2d21e1f14..9a1306592 100644
--- a/FL/Fl_Clock.H
+++ b/FL/Fl_Clock.H
@@ -41,6 +41,9 @@
#define FL_ANALOG_CLOCK FL_SQUARE_CLOCK /**< An analog clock is square */
#define FL_DIGITAL_CLOCK FL_SQUARE_CLOCK /**< Not yet implemented */
+// fabien: Please keep the horizontal formatting of both images in class desc,
+// don't loose vert. space for nothing!
+
/**
\class Fl_Clock_Output
\brief This widget can be used to display a program-supplied time.
@@ -48,9 +51,14 @@
The time shown on the clock is not updated. To display the current time,
use Fl_Clock instead.
- \image html clock.gif
-
- \image html round_clock.gif
+ \htmlonly <BR> <table align=CENTER border=1 cellpadding=5 >
+ <caption align=bottom>type() FL_SQUARE_CLOCK and FL_ROUND_CLOCK </caption> <TR><TD> \endhtmlonly
+ \image html clock.gif
+ \htmlonly </TD> <TD> \endhtmlonly
+ \image html round_clock.gif
+ \htmlonly </TD> </TR> </table> \endhtmlonly
+ \image latex clock.eps "FL_SQUARE_CLOCK type" width=4cm
+ \image latex round_clock.eps "FL_ROUND_CLOCK type" width=4cm
*/
class FL_EXPORT Fl_Clock_Output : public Fl_Widget {
int hour_, minute_, second_;
@@ -101,10 +109,15 @@ public:
Fl_Clock is provided for Forms compatibility.
It installs a 1-second timeout callback using Fl::add_timeout().
-
- \image html clock.gif
-
- \image html round_clock.gif
+ You can choose the rounded or square type of the the clock with type(), see below.
+ \htmlonly <BR> <table align=CENTER border=1 cellpadding=5 >
+ <caption align=bottom>type() FL_SQUARE_CLOCK and FL_ROUND_CLOCK </caption> <TR><TD> \endhtmlonly
+ \image html clock.gif
+ \htmlonly </TD> <TD> \endhtmlonly
+ \image html round_clock.gif
+ \htmlonly </TD> </TR> </table> \endhtmlonly
+ \image latex clock.eps "FL_SQUARE_CLOCK type" width=4cm
+ \image latex round_clock.eps "FL_ROUND_CLOCK type" width=4cm
*/
class FL_EXPORT Fl_Clock : public Fl_Clock_Output {
public: