diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2008-12-26 19:09:44 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2008-12-26 19:09:44 +0000 |
| commit | 459cd78a947693d7fb99bf6ed0f497f2ae5cc1a5 (patch) | |
| tree | f0942709d925594601056bfefe534dfd7813567c /FL/Fl_Button.H | |
| parent | 1b788c8c14c1f3df8d51bc5af2f33585a861566d (diff) | |
STR 1735: improved documentation on button types.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6599 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Button.H')
| -rw-r--r-- | FL/Fl_Button.H | 11 |
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 |
