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 ded1dfe9e..05b1b7585 100644
--- a/FL/Fl_Button.H
+++ b/FL/Fl_Button.H
@@ -36,10 +36,12 @@
#endif
// values for type()
-#define FL_NORMAL_BUTTON 0
-#define FL_TOGGLE_BUTTON 1
-#define FL_RADIO_BUTTON (FL_RESERVED_TYPE+2)
-#define FL_HIDDEN_BUTTON 3 // for Forms compatibility
+#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_HIDDEN_BUTTON 3 ///< for Forms compatibility
extern FL_EXPORT int fl_old_shortcut(const char*);
@@ -76,7 +78,6 @@ extern FL_EXPORT int fl_old_shortcut(const char*);
(when the user pushes and releases the button, and as the mouse is
dragged around in and out of the button).
*/
-
class FL_EXPORT Fl_Button : public Fl_Widget {
int shortcut_;