From 459cd78a947693d7fb99bf6ed0f497f2ae5cc1a5 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Fri, 26 Dec 2008 19:09:44 +0000 Subject: STR 1735: improved documentation on button types. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6599 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Button.H | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/FL/Fl_Button.H b/FL/Fl_Button.H index 6b828e673..07bf96bb7 100644 --- a/FL/Fl_Button.H +++ b/FL/Fl_Button.H @@ -36,11 +36,12 @@ #endif // values for type() -#define FL_NORMAL_BUTTON 0 ///< value() remains unchanged after button press. -#define FL_TOGGLE_BUTTON 1 ///< value() is inverted after button press. -#define FL_RADIO_BUTTON (FL_RESERVED_TYPE+2) /**< is set to 1 after button press, and all other - buttons in the current group with type() == FL_RADIO_BUTTON - are set to zero.*/ +#define FL_NORMAL_BUTTON 0 /**< value() will be set to 1 during the press of the button and + reverts back to 0 when the button is released */ +#define FL_TOGGLE_BUTTON 1 ///< value() toggles between 0 and 1 at every click of the button +#define FL_RADIO_BUTTON (FL_RESERVED_TYPE+2) /**< is set to 1 at button press, and all other + buttons in the same group with type() == FL_RADIO_BUTTON + are set to zero.*/ #define FL_HIDDEN_BUTTON 3 ///< for Forms compatibility #ifndef FL_DOXYGEN -- cgit v1.2.3