summaryrefslogtreecommitdiff
path: root/src/Fl_Clock.cxx
diff options
context:
space:
mode:
authorengelsman <engelsman>2008-09-21 08:00:32 +0000
committerengelsman <engelsman>2008-09-21 08:00:32 +0000
commit4bc22ed15d3ed21d49ce96e57412e2bfc9d0261c (patch)
tree9c6d52a05b4c96145a9f88de4f840eb4a5fcd8ad /src/Fl_Clock.cxx
parentfb343ffdf6da842ceb22c6588cd4091999c6f3ab (diff)
doxygen comments for undocumented features of Fl_Clock, Fl_Check_Browser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6327 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Clock.cxx')
-rw-r--r--src/Fl_Clock.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Fl_Clock.cxx b/src/Fl_Clock.cxx
index b13223c5e..ec2020c4a 100644
--- a/src/Fl_Clock.cxx
+++ b/src/Fl_Clock.cxx
@@ -74,6 +74,10 @@ static void rect(double x, double y, double w, double h) {
fl_end_polygon();
}
+/**
+ Draw clock with the given position and size.
+ \param[in] X, Y, W, H position and size
+*/
void Fl_Clock_Output::draw(int X, int Y, int W, int H) {
Fl_Color box_color = type()==FL_ROUND_CLOCK ? FL_GRAY : color();
Fl_Color shadow_color = fl_color_average(box_color, FL_BLACK, 0.5);
@@ -107,6 +111,9 @@ void Fl_Clock_Output::draw(int X, int Y, int W, int H) {
fl_pop_matrix();
}
+/**
+ Draw clock with current position and size.
+*/
void Fl_Clock_Output::draw() {
draw(x(), y(), w(), h());
draw_label();