STR 1735: improved documentation on button types.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6599 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher 2008-12-26 19:09:44 +00:00
parent 1b788c8c14
commit 459cd78a94

View File

@ -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