From 180ec65687f7aafb4f4b1948a5543628d553802f Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 1 Dec 2010 17:38:29 +0000 Subject: Doxygen changes to indicate what to #include for functions documented in modules. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7932 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl.H | 22 +++++++++++++--------- FL/mac.H | 5 ++--- 2 files changed, 15 insertions(+), 12 deletions(-) (limited to 'FL') diff --git a/FL/Fl.H b/FL/Fl.H index ad32ccc7c..24778af49 100644 --- a/FL/Fl.H +++ b/FL/Fl.H @@ -54,7 +54,7 @@ struct Fl_Label; /** \defgroup callback_functions Callback function typedefs - \brief Typedefs for callback or handler functions passed as function parameters. + \brief Typedefs defined in for callback or handler functions passed as function parameters. FLTK uses callback functions as parameters for some function calls, e.g. to set up global event handlers (Fl::add_handler()), to add a timeout handler @@ -357,6 +357,7 @@ public: be messed up, but the user can probably keep working - all X protocol errors call this, for example. The default implementation returns after displaying the message. + \note \#include */ static void (*warning)(const char*, ...); /** @@ -371,6 +372,7 @@ public: Fl::error() means there is a recoverable error such as the inability to read an image file. The default implementation returns after displaying the message. + \note \#include */ static void (*error)(const char*, ...); /** @@ -387,12 +389,13 @@ public: version may be able to use longjmp or an exception to continue, as long as it does not call FLTK again. The default implementation exits with status 1 after displaying the message. + \note \#include */ static void (*fatal)(const char*, ...); /** @} */ /** \defgroup fl_windows Windows handling functions - Windows and standard dialogs handling + \brief Windows and standard dialogs handling defined in @{ */ static Fl_Window* first_window(); static void first_window(Fl_Window*); @@ -438,7 +441,7 @@ public: /** @} */ /** \defgroup fl_events Events handling functions - Fl class events handling API + Fl class events handling API defined in @{ */ // event information: @@ -675,7 +678,7 @@ public: /** @} */ /** \defgroup fl_clipboard Selection & Clipboard functions - fl global copy/cut/paste functions + FLTK global copy/cut/paste functions defined in @{ */ // cut/paste: /** @@ -709,7 +712,7 @@ public: static void paste(Fl_Widget &receiver); /** @} */ /** \defgroup fl_screen Screen functions - fl global screen functions + fl global screen functions defined in @{ */ // screen size: /** Returns the origin of the current screen, where 0 indicates the left side of the screen. */ @@ -737,7 +740,8 @@ public: /** @} */ /** \defgroup fl_attributes Color & Font functions - fl global color, font functions + fl global color, font functions. + These functions are declared in or . @{ */ // color map: @@ -921,7 +925,7 @@ public: */ static int dnd_text_ops() { return dnd_text_ops_; } /** \defgroup fl_multithread Multithreading support functions - fl multithreading support functions + fl multithreading support functions defined in @{ */ // Multithreading support: @@ -941,7 +945,7 @@ public: /** \defgroup fl_del_widget Safe widget deletion support functions - These functions support deletion of widgets inside callbacks. + These functions,defined in , support deletion of widgets inside callbacks. Fl::delete_widget() should be called when deleting widgets or complete widget trees (Fl_Group, Fl_Window, ...) inside @@ -1106,7 +1110,7 @@ public: }; /** \defgroup fl_unicode Unicode and UTF-8 functions - fl global Unicode and UTF-8 handling functions + fl global Unicode and UTF-8 handling functions defined in @{ */ /** @} */ diff --git a/FL/mac.H b/FL/mac.H index 3ff8ca702..b209df4e3 100644 --- a/FL/mac.H +++ b/FL/mac.H @@ -168,16 +168,15 @@ extern FL_EXPORT int fl_parse_color(const char* p, uchar& r, uchar& g, uchar& b) #endif // FL_DOXYGEN /** \defgroup group_macosx Mac OS X-specific functions + Mac OS X-specific functions defined in or @{ */ /** @brief Register a function called for each file dropped onto an application icon - * \note \#include */ extern void fl_open_callback(void (*cb)(const char *)); /** * \brief Attaches a callback to the "About myprog" item of the system application menu. - * \note \#include * * \param cb a callback that will be called by "About myprog" menu item * with NULL 1st argument. @@ -186,7 +185,7 @@ extern void fl_open_callback(void (*cb)(const char *)); */ extern void fl_mac_set_about( Fl_Callback *cb, void *user_data, int shortcut = 0); -/** The version number of the running Mac OS X (e.g., 0x1064 for 10.6.4) +/** \brief The version number of the running Mac OS X (e.g., 0x1064 for 10.6.4) */ extern int fl_mac_os_version; -- cgit v1.2.3