Author: manolo
Date: 2012-12-11 09:06:41 -0800 (Tue, 11 Dec 2012)
New Revision: 9748
Log:
Properly Doxygen-comment fl_beep() and the associated enumeration.

Modified:
   branches/branch-1.3/FL/fl_ask.H
   branches/branch-1.3/src/fl_ask.cxx

Modified: branches/branch-1.3/FL/fl_ask.H
===================================================================
--- branches/branch-1.3/FL/fl_ask.H     2012-12-10 12:49:59 UTC (rev 9747)
+++ branches/branch-1.3/FL/fl_ask.H     2012-12-11 17:06:41 UTC (rev 9748)
@@ -16,20 +16,26 @@
 //     http://www.fltk.org/str.php
 //
 
+/** \file fl_ask.H
+ API for common dialogs.
+ */
+
 #ifndef fl_ask_H
 #  define fl_ask_H
 
 #  include "Enumerations.H"
 
 class Fl_Widget;
-/** Different system beeps available. \relatesalso fl_beep(int) */
-enum {
-  FL_BEEP_DEFAULT = 0,
-  FL_BEEP_MESSAGE,
-  FL_BEEP_ERROR,
-  FL_BEEP_QUESTION,
-  FL_BEEP_PASSWORD,
-  FL_BEEP_NOTIFICATION
+
+/** Different system beeps available. 
+ \sa fl_beep(int) */
+enum Fl_Beep {
+  FL_BEEP_DEFAULT = 0,  ///< Default beep.
+  FL_BEEP_MESSAGE,  ///< Message beep.
+  FL_BEEP_ERROR,  ///< Error beep.
+  FL_BEEP_QUESTION,  ///< Question beep.
+  FL_BEEP_PASSWORD,  ///< Password beep.
+  FL_BEEP_NOTIFICATION  ///< Notification beep.
 };
 
 #  ifdef __GNUC__

Modified: branches/branch-1.3/src/fl_ask.cxx
===================================================================
--- branches/branch-1.3/src/fl_ask.cxx  2012-12-10 12:49:59 UTC (rev 9747)
+++ branches/branch-1.3/src/fl_ask.cxx  2012-12-11 17:06:41 UTC (rev 9748)
@@ -16,6 +16,11 @@
 //     http://www.fltk.org/str.php
 //
 
+/**
+ \file fl_ask.cxx
+ \brief Utility functions for common dialogs.
+ */
+
 // Implementation of fl_message, fl_ask, fl_choice, fl_input
 // The three-message fl_show_x functions are for forms compatibility
 // mostly.  In most cases it is easier to get a multi-line message
@@ -272,6 +277,7 @@
 // fltk functions:
 /**
    Emits a system beep message.
+ \param[in] type   The beep type from the \ref Fl_Beep enumeration.
    \note \#include <FL/fl_ask.H>
  */
 void fl_beep(int type) {

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to