From e20eeb65413d0cf1a94d682c51d781314beeda6d Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Tue, 16 Sep 2008 06:49:08 +0000 Subject: applied Duncan Gibson's documentation patch (WP3). Docs look good, compiles okay. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6264 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Check_Button.H | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'FL/Fl_Check_Button.H') diff --git a/FL/Fl_Check_Button.H b/FL/Fl_Check_Button.H index 66b29bd8a..55ec6a0ed 100644 --- a/FL/Fl_Check_Button.H +++ b/FL/Fl_Check_Button.H @@ -3,7 +3,7 @@ // // Check button header file for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2005 by Bill Spitzak and others. +// Copyright 1998-2008 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public @@ -30,9 +30,24 @@ #include "Fl_Light_Button.H" +/** + \class Fl_Check_Button + \brief A button with an "checkmark" to show its status. + + \image html Fl_Check_Button.gif + + Buttons generate callbacks when they are clicked by the user. You control + exactly when and how by changing the values for type() and when(). + + The Fl_Check_Button subclass displays its "ON" state by showing a "checkmark" + rather than drawing itself pushed in. + + \todo Refactor Fl_Check_Button doxygen comments (add color() info etc?) + \todo Generate Fl_Check_Button.gif with visible checkmark. + */ class FL_EXPORT Fl_Check_Button : public Fl_Light_Button { public: - Fl_Check_Button(int x,int y,int w,int h,const char *l = 0); + Fl_Check_Button(int X, int Y, int W, int H, const char *L = 0); }; #endif -- cgit v1.2.3