diff options
| -rw-r--r-- | FL/mac.H | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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 |
