summaryrefslogtreecommitdiff
path: root/FL/Fl_Clock.H
diff options
context:
space:
mode:
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: