diff options
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Window_Driver.H | 2 | ||||
| -rw-r--r-- | FL/mac.H | 2 | ||||
| -rw-r--r-- | FL/win32.H | 4 |
3 files changed, 2 insertions, 6 deletions
diff --git a/FL/Fl_Window_Driver.H b/FL/Fl_Window_Driver.H index f386e04f4..6ff2a1bab 100644 --- a/FL/Fl_Window_Driver.H +++ b/FL/Fl_Window_Driver.H @@ -85,6 +85,8 @@ public: virtual void resize(int X,int Y,int W,int H) {} virtual void hide() {} int hide_common(); + virtual void map() {} + virtual void unmap() {} // --- window shape stuff void shape_pixmap_(Fl_Image* pixmap); // TODO: check @@ -177,8 +177,6 @@ public: static void GLcontext_makecurrent(NSOpenGLContext*); static void GL_cleardrawable(void); void destroy(void); - void map(void); - void unmap(void); void collapse(void); WindowRef window_ref(void); // useless with cocoa GL windows void set_key_window(void); diff --git a/FL/win32.H b/FL/win32.H index bb8c4050a..f78e63bcc 100644 --- a/FL/win32.H +++ b/FL/win32.H @@ -57,10 +57,6 @@ inline void XClipBox(Fl_Region r,XRectangle* rect) { rect->width=win_rect.right-win_rect.left; rect->height=win_rect.bottom-win_rect.top; } -#define XDestroyWindow(a,b) DestroyWindow(b) -#define XMapWindow(a,b) ShowWindow(b, SW_RESTORE) -#define XUnmapWindow(a,b) ShowWindow(b, SW_HIDE) - // this object contains all win32-specific stuff about a window: // Warning: this object is highly subject to change! class FL_EXPORT Fl_X { |
