diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2006-08-29 11:03:05 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2006-08-29 11:03:05 +0000 |
| commit | 7ae0ff02404e602e0929e82fb11364a4a684ee10 (patch) | |
| tree | 948388e97d98417addb4c5e1338388a7509d97fc /FL/mac.H | |
| parent | 00ec9da8f5cf0f37f3c64e0a45b4046f86153765 (diff) | |
Updated OSX subwindow simulation code to better add and remove from the clipping list
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5379 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/mac.H')
| -rw-r--r-- | FL/mac.H | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -54,10 +54,6 @@ inline void XDestroyRegion(Fl_Region r) { DisposeRgn(r); } -# define XDestroyWindow(a,b) DisposeWindow(b) -# define XMapWindow(a,b) ShowWindow(b) -# define XUnmapWindow(a,b) HideWindow(b) - # include "Fl_Window.H" // This object contains all mac-specific stuff about a window: @@ -90,6 +86,11 @@ public: static void q_end_image(); }; +extern void MacDestroyWindow(Fl_Window*,WindowPtr); +extern void MacMapWindow(Fl_Window*,WindowPtr); +extern void MacUnmapWindow(Fl_Window*,WindowPtr); +extern int MacUnlinkWindow(Fl_X*,Fl_X*start=0L); + inline Window fl_xid(const Fl_Window*w) { return Fl_X::i(w)->xid; |
