diff options
| author | Manolo Gouy <Manolo> | 2016-04-19 20:47:25 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-04-19 20:47:25 +0000 |
| commit | cd4498021e9623da828b3fb8344bc4db35675efe (patch) | |
| tree | 11098f27f2a463c8d86020bc117d314d4392fa32 /FL/mac.H | |
| parent | 8a910fe8fb10c5c0b84b132bb80982868992b02f (diff) | |
Have headers x.H, win32.H and mac.H share a unique definition of class Fl_X
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11667 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/mac.H')
| -rw-r--r-- | FL/mac.H | 26 |
1 files changed, 2 insertions, 24 deletions
@@ -95,35 +95,11 @@ typedef float CGFloat; #endif #endif // CGFLOAT_DEFINED -// This object contains all mac-specific stuff about a window: -// WARNING: this object is highly subject to change! -class Fl_X { -public: - Window xid; // pointer to the Cocoa window object (FLWindow*) - Fl_Window *w; // FLTK window for - Fl_Region region; - Fl_X *next; // chain of mapped windows - static Fl_X* first; - static Fl_X* i(const Fl_Window* w) {return (Fl_X*)w->i;} -}; - -extern Window fl_window; - #endif // FL_LIBRARY || FL_INTERNALS extern CGContextRef fl_gc; -extern Window fl_xid(const Fl_Window*); -extern Fl_Window* fl_find(Window xid); - -extern Fl_Bitmask fl_create_bitmask(int w, int h, const uchar *data); -extern Fl_Bitmask fl_create_alphamask(int w, int h, int d, int ld, const uchar *data); -extern void fl_delete_bitmask(Fl_Bitmask bm); - -extern int fl_parse_color(const char* p, uchar& r, uchar& g, uchar& b); -extern void fl_open_display(); - #endif // FL_DOXYGEN /** \file Mac OS X-specific symbols. @@ -134,11 +110,13 @@ extern void fl_open_display(); \sa \ref osissues_macos @{ */ +#ifdef FL_DOXYGEN /** @brief Register a function called for each file dropped onto an application icon. \e cb will be called with a single Unix-style file name and path. If multiple files were dropped, \e cb will be called multiple times. */ extern void fl_open_callback(void (*cb)(const char *)); +#endif /** * \brief Attaches a callback to the "About myprog" item of the system application menu. |
