Moved the Doxygen doc of class Fl_Mac_App_Menu from mac.H to x.H so Doxygen

displays correctly that #include <x.H> is needed for this class.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8381 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2011-02-06 10:24:23 +00:00
parent d4007d5b06
commit e552ae319a
2 changed files with 11 additions and 10 deletions

View File

@ -209,16 +209,6 @@ extern void fl_mac_set_about( Fl_Callback *cb, void *user_data, int shortcut = 0
*/
extern int fl_mac_os_version;
/** To localize the application menu.
These character strings are used to build the application menu. They can be localized
at run time to any UTF-8 text by placing instructions such as these \e very
early in the program:
\verbatim
#include <FL/x.H>
Fl_Mac_App_Menu::print = "Imprimer la fenêtre";
\endverbatim
*/
class Fl_Mac_App_Menu {
public:
/** Localizable text for the "About xxx" application menu item */

11
FL/x.H
View File

@ -30,6 +30,17 @@
// need to call Xlib directly. These symbols may not exist on non-X
// systems.
/** \class Fl_Mac_App_Menu
Mac OS-specific class allowing to localize the application menu.
These character strings are used to build the application menu. They can be localized
at run time to any UTF-8 text by placing instructions such as this \e very
early in the program:
\verbatim
Fl_Mac_App_Menu::print = "Imprimer la fenêtre";
\endverbatim
*/
#if !defined(Fl_X_H) && !defined(FL_DOXYGEN)
# define Fl_X_H