diff options
| author | Manolo Gouy <Manolo> | 2010-07-01 16:51:28 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2010-07-01 16:51:28 +0000 |
| commit | 5cb826bd38f03dfbc4669142798b0a58f7856dac (patch) | |
| tree | a1b5b4423f29f66f99b022e9318146a23f0e88c3 | |
| parent | dd823b703c2f1a57245f886d0a2bfb3caecc0f95 (diff) | |
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
| -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 |
