Properly Doxygen-comment fl_beep() and the associated enumeration.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9748 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy
2012-12-11 17:06:41 +00:00
parent d9666eb8c9
commit 466cf80f6f
2 changed files with 20 additions and 8 deletions
+14 -8
View File
@@ -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__
+6
View File
@@ -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 @@ const char* fl_close= "Close"; ///< string pointer used in common dialogs, you
// 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) {