Author: manolo
Date: 2010-12-01 09:38:29 -0800 (Wed, 01 Dec 2010)
New Revision: 7932
Log:
Doxygen changes to indicate what to #include for functions documented in 
modules.

Modified:
   branches/branch-1.3/FL/Fl.H
   branches/branch-1.3/FL/mac.H
   branches/branch-1.3/src/Fl_Color_Chooser.cxx
   branches/branch-1.3/src/fl_ask.cxx
   branches/branch-1.3/src/fl_file_dir.cxx
   branches/branch-1.3/src/fl_open_uri.cxx

Modified: branches/branch-1.3/FL/Fl.H
===================================================================
--- branches/branch-1.3/FL/Fl.H 2010-12-01 15:52:02 UTC (rev 7931)
+++ branches/branch-1.3/FL/Fl.H 2010-12-01 17:38:29 UTC (rev 7932)
@@ -54,7 +54,7 @@
 
 
 /** \defgroup  callback_functions Callback function typedefs
-    \brief Typedefs for callback or handler functions passed as function 
parameters.
+ \brief Typedefs defined in <FL/Fl.H> 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 @@
   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 <FL/Fl.H>
   */
   static void (*warning)(const char*, ...);
   /**
@@ -371,6 +372,7 @@
 
   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 <FL/Fl.H>
   */
   static void (*error)(const char*, ...);
   /**
@@ -387,12 +389,13 @@
   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 <FL/Fl.H>
   */
   static void (*fatal)(const char*, ...);
   /** @} */
 
   /** \defgroup  fl_windows Windows handling functions
-      Windows and standard dialogs handling
+      \brief Windows and standard dialogs handling defined in <FL/Fl.H>
     @{ */
   static Fl_Window* first_window();
   static void first_window(Fl_Window*);
@@ -438,7 +441,7 @@
   /** @} */
 
   /** \defgroup fl_events Events handling functions
-       Fl class events handling API
+       Fl class events handling API defined in <FL/Fl.H>
        @{
   */
   // event information:
@@ -675,7 +678,7 @@
   /** @} */
 
   /** \defgroup  fl_clipboard  Selection & Clipboard functions
-       fl global copy/cut/paste functions
+       FLTK global copy/cut/paste functions defined in <FL/Fl.H>
    @{ */
   // cut/paste:
   /**
@@ -709,7 +712,7 @@
   static void paste(Fl_Widget &receiver);
 /** @} */
 /** \defgroup  fl_screen  Screen functions
-       fl global screen functions
+       fl global screen functions defined in <FL/Fl.H>
      @{ */
   // screen size:
   /** Returns the origin of the current screen, where 0 indicates the left 
side of the screen. */
@@ -737,7 +740,8 @@
   /**   @} */
 
   /** \defgroup  fl_attributes  Color & Font functions
-       fl global color, font functions
+       fl global color, font functions.
+   These functions are declared in <FL/Fl.H> or <FL/fl_draw.H>. 
      @{ */
  
   // color map:
@@ -921,7 +925,7 @@
   */
   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 <FL/Fl.H>
    @{ */
 
   // Multithreading support:
@@ -941,7 +945,7 @@
 
   /** \defgroup fl_del_widget Safe widget deletion support functions
 
-    These functions support deletion of widgets inside callbacks.
+    These functions,defined in <FL/Fl.H>, 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 @@
 };
 
  /** \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 <FL/fl_utf8.h>
      @{ */
  /** @} */
 

Modified: branches/branch-1.3/FL/mac.H
===================================================================
--- branches/branch-1.3/FL/mac.H        2010-12-01 15:52:02 UTC (rev 7931)
+++ branches/branch-1.3/FL/mac.H        2010-12-01 17:38:29 UTC (rev 7932)
@@ -168,16 +168,15 @@
 #endif // FL_DOXYGEN
 
 /** \defgroup group_macosx Mac OS X-specific functions
+ Mac OS X-specific functions defined in <FL/x.H> or <FL/gl.h>
  @{ */
 
 /** @brief Register a function called for each file dropped onto an 
application icon 
- * \note  \#include <FL/x.H>
  */
 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 <FL/x.H>
  *
  * \param cb   a callback that will be called by "About myprog" menu item
  *                with NULL 1st argument.
@@ -186,7 +185,7 @@
  */
 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;          
 

Modified: branches/branch-1.3/src/Fl_Color_Chooser.cxx
===================================================================
--- branches/branch-1.3/src/Fl_Color_Chooser.cxx        2010-12-01 15:52:02 UTC 
(rev 7931)
+++ branches/branch-1.3/src/Fl_Color_Chooser.cxx        2010-12-01 17:38:29 UTC 
(rev 7932)
@@ -560,6 +560,7 @@
     @{ */
 /**
   \brief Pops up a window to let the user pick an arbitrary RGB color.
+  \note \#include <FL/Fl_Color_Chooser.H>
   \image html fl_color_chooser.jpg 
   \image latex  fl_color_chooser.eps "fl_color_chooser" width=8cm
   \param[in] name Title label for the window
@@ -602,6 +603,7 @@
 
 /**
   \brief Pops up a window to let the user pick an arbitrary RGB color.
+  \note \#include <FL/Fl_Color_Chooser.H>
   \image html fl_color_chooser.jpg 
   \image latex  fl_color_chooser.eps "fl_color_chooser" width=8cm
   \param[in] name Title label for the window

Modified: branches/branch-1.3/src/fl_ask.cxx
===================================================================
--- branches/branch-1.3/src/fl_ask.cxx  2010-12-01 15:52:02 UTC (rev 7931)
+++ branches/branch-1.3/src/fl_ask.cxx  2010-12-01 17:38:29 UTC (rev 7932)
@@ -261,6 +261,7 @@
 
 /**
    Emits a system beep message.
+   \note \#include <FL/fl_ask.H>
  */
 void fl_beep(int type) {
 #ifdef WIN32
@@ -330,7 +331,9 @@
 
    \note Common dialog boxes are application modal. No more than one common 
dialog box
    can be open at any time. Requests for additional dialog boxes are ignored.
+   \note \#include <FL/fl_ask.H>
 
+
    \param[in] fmt can be used as an sprintf-like format and variables for the 
message text
  */
 void fl_message(const char *fmt, ...) {
@@ -352,6 +355,7 @@
 
    \note Common dialog boxes are application modal. No more than one common 
dialog box
    can be open at any time. Requests for additional dialog boxes are ignored.
+   \note \#include <FL/fl_ask.H>
 
    \param[in] fmt can be used as an sprintf-like format and variables for the 
message text
  */
@@ -374,6 +378,7 @@
 
    \note Common dialog boxes are application modal. No more than one common 
dialog box
    can be open at any time. Requests for additional dialog boxes are ignored.
+   \note \#include <FL/fl_ask.H>
 
    \param[in] fmt can be used as an sprintf-like format and variables for the 
message text
    \retval 0 if the no button is selected or another dialog box is still open
@@ -398,7 +403,8 @@
     this dialog features up to 3 customizable choice buttons
 
    \note Common dialog boxes are application modal. No more than one common 
dialog box
-   can be open at any time. Requests for additional dialog boxes are ignored.
+    can be open at any time. Requests for additional dialog boxes are ignored.
+   \note \#include <FL/fl_ask.H>
 
    \param[in] fmt can be used as an sprintf-like format and variables for the 
message text
    \param[in] b0 text label of button 0
@@ -424,6 +430,7 @@
 /** Gets the Fl_Box icon container of the current default dialog used in 
     many common dialogs like fl_message(), fl_alert(), 
     fl_ask(), fl_choice(), fl_input(), fl_password() 
+    \note \#include <FL/fl_ask.H>
 */ 
 Fl_Widget *fl_message_icon() {makeform(); return icon;}
 
@@ -446,6 +453,7 @@
 
    \note Common dialog boxes are application modal. No more than one common 
dialog box
    can be open at any time. Requests for additional dialog boxes are ignored.
+   \note \#include <FL/fl_ask.H>
 
    \param[in] fmt can be used as an sprintf-like format and variables for the 
message text
    \param[in] defstr defines the default returned string if no text is entered
@@ -471,6 +479,7 @@
 
    \note Common dialog boxes are application modal. No more than one common 
dialog box
    can be open at any time. Requests for additional dialog boxes are ignored.
+   \note \#include <FL/fl_ask.H>
 
    \param[in] fmt can be used as an sprintf-like format and variables for the 
message text
    \param[in] defstr defines the default returned string if no text is entered

Modified: branches/branch-1.3/src/fl_file_dir.cxx
===================================================================
--- branches/branch-1.3/src/fl_file_dir.cxx     2010-12-01 15:52:02 UTC (rev 
7931)
+++ branches/branch-1.3/src/fl_file_dir.cxx     2010-12-01 17:38:29 UTC (rev 
7932)
@@ -45,16 +45,18 @@
 /** \addtogroup  group_comdlg 
     @{ */
 
-/** \relatesalso Fl_File_Chooser
+/** \relates Fl_File_Chooser
     Set the file chooser callback
+    \note \#include <FL/Fl_File_Chooser.H>
 */
 void fl_file_chooser_callback(void (*cb)(const char*)) {
   current_callback = cb;
 }
 
 
-/** \relatesalso Fl_File_Chooser
+/** \relates Fl_File_Chooser
     Set the "OK" button label
+    \note \#include <FL/Fl_File_Chooser.H>
 */
 void fl_file_chooser_ok_label(const char *l) {
   if (l) current_label = l;
@@ -63,6 +65,7 @@
 
 /** \relates Fl_File_Chooser
     Shows a file chooser dialog and gets a filename. 
+    \note \#include <FL/Fl_File_Chooser.H>
     \image html Fl_File_Chooser.jpg 
     \image latex  Fl_File_Chooser.eps "Fl_File_Chooser" width=12cm
     \param[in] message text in title bar
@@ -148,6 +151,7 @@
 
 /**  \relates Fl_File_Chooser
     Shows a file chooser dialog and gets a directory.
+    \note \#include <FL/Fl_File_Chooser.H>
     \param[in] message title bar text
     \param[in] fname initial/default directory name
     \param[in] relative 0 for absolute path return, relative otherwise

Modified: branches/branch-1.3/src/fl_open_uri.cxx
===================================================================
--- branches/branch-1.3/src/fl_open_uri.cxx     2010-12-01 15:52:02 UTC (rev 
7931)
+++ branches/branch-1.3/src/fl_open_uri.cxx     2010-12-01 17:38:29 UTC (rev 
7932)
@@ -57,6 +57,8 @@
 static int     run_program(const char *program, char **argv, char *msg, int 
msglen);
 #endif // !WIN32
 
+/** \addtogroup filenames
+ @{ */
 
 /**
  * Opens the specified Uniform Resource Identifier (URI).
@@ -239,6 +241,7 @@
 #endif // WIN32
 }
 
+/**   @} */
 
 #if !defined(WIN32) && !defined(__APPLE__)
 // Find a program in the path...

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

Reply via email to