Documented fl_open_callback function.

-This line, and those below, will be ignored--

M    mac.H


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7663 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy
2010-07-01 16:51:28 +00:00
parent dd823b703c
commit 5cb826bd38
+6 -4
View File
@@ -165,17 +165,19 @@ extern FL_EXPORT void fl_delete_bitmask(Fl_Bitmask bm);
extern void fl_open_display();
// Register a function for opening files via the finder...
extern void fl_open_callback(void (*cb)(const char *));
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
@{ */
/** @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 Mac OS X: attaches a callback to the "About myprog" item of the system application menu.
* \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