summaryrefslogtreecommitdiff
path: root/FL/Fl_Button.H
diff options
context:
space:
mode:
Diffstat (limited to 'FL/Fl_Button.H')
-rw-r--r--FL/Fl_Button.H11
1 files 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 <tt>type() == FL_RADIO_BUTTON</tt>
- 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 <tt>type() == FL_RADIO_BUTTON</tt>
+ are set to zero.*/
#define FL_HIDDEN_BUTTON 3 ///< for Forms compatibility
#ifndef FL_DOXYGEN