FLTK logo

[master] a4f6bad - Improve 'Fl_When' enum documentation

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] a4f6bad - Improve 'Fl_When' enum documentation "Albrecht Schlosser" Aug 24, 2020  
 
commit a4f6badfcdda00c21a493f20a9e4acc76732be69
Author:     Albrecht Schlosser <albrechts.fltk@online.de>
AuthorDate: Mon Aug 24 15:14:48 2020 +0200
Commit:     Albrecht Schlosser <albrechts.fltk@online.de>
CommitDate: Mon Aug 24 15:14:48 2020 +0200

    Improve 'Fl_When' enum documentation

 FL/Enumerations.H | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git FL/Enumerations.H FL/Enumerations.H
index fad9dd9..a949a98 100644
--- FL/Enumerations.H
+++ FL/Enumerations.H
@@ -419,14 +419,14 @@ enum Fl_Event { // events
     \todo doxygen comments for values are incomplete and maybe wrong or unclear
  */
 enum Fl_When { // Fl_Widget::when():
-  FL_WHEN_NEVER         = 0,    ///< Never call the callback
-  FL_WHEN_CHANGED       = 1,    ///< Do the callback only when the widget value changes
-  FL_WHEN_NOT_CHANGED   = 2,    ///< Do the callback whenever the user interacts with the widget
-  FL_WHEN_RELEASE       = 4,    ///< Do the callback when the button or key is released and the value changes
-  FL_WHEN_RELEASE_ALWAYS= 6,    ///< Do the callback when the button or key is released, even if the value doesn't change
-  FL_WHEN_ENTER_KEY     = 8,    ///< Do the callback when the user presses the ENTER key and the value changes
-  FL_WHEN_ENTER_KEY_ALWAYS=10,  ///< Do the callback when the user presses the ENTER key, even if the value doesn't change
-  FL_WHEN_ENTER_KEY_CHANGED=11  ///< ?
+  FL_WHEN_NEVER             = 0, ///< Never call the callback
+  FL_WHEN_CHANGED           = 1, ///< Do the callback only when the widget value changes
+  FL_WHEN_NOT_CHANGED       = 2, ///< Do the callback whenever the user interacts with the widget
+  FL_WHEN_RELEASE           = 4, ///< Do the callback when the button or key is released and the value changes
+  FL_WHEN_RELEASE_ALWAYS    = 6, ///< Do the callback when the button or key is released, even if the value doesn't change
+  FL_WHEN_ENTER_KEY         = 8, ///< Do the callback when the user presses the ENTER key and the value changes
+  FL_WHEN_ENTER_KEY_ALWAYS  =10, ///< Do the callback when the user presses the ENTER key, even if the value doesn't change
+  FL_WHEN_ENTER_KEY_CHANGED =11  ///< = (FL_WHEN_ENTER_KEY | FL_WHEN_CHANGED | FL_WHEN_NOT_CHANGED)
 };
 
 /*@}*/          // group: When Conditions
Direct Link to Message ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.