summaryrefslogtreecommitdiff
path: root/FL/win32.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-03-30 20:16:40 +0000
committerManolo Gouy <Manolo>2016-03-30 20:16:40 +0000
commitd67f395031b0e9cfb266bf31a4a5e08a2d109e3b (patch)
tree6a38b9180802e79b16af5de3ff031e6d739ac16c /FL/win32.H
parent7799245100a91b10b9a4ca9c6e818a3cdd8d5dc9 (diff)
Rewrite functions XRectangleRegion(), XDestroyRegion() under the driver model.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11479 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/win32.H')
-rw-r--r--FL/win32.H11
1 files changed, 0 insertions, 11 deletions
diff --git a/FL/win32.H b/FL/win32.H
index f4035b13c..f246a67d9 100644
--- a/FL/win32.H
+++ b/FL/win32.H
@@ -45,17 +45,6 @@ typedef HWND Window;
#define VK_APPS 0x5D
#endif
-// some random X equivalents
-struct XRectangle {int x, y, width, height;};
-extern Fl_Region XRectangleRegion(int x, int y, int w, int h);
-inline void XDestroyRegion(Fl_Region r) {DeleteObject(r);}
-inline void XClipBox(Fl_Region r,XRectangle* rect) {
- RECT win_rect; GetRgnBox(r,&win_rect);
- rect->x=win_rect.left;
- rect->y=win_rect.top;
- rect->width=win_rect.right-win_rect.left;
- rect->height=win_rect.bottom-win_rect.top;
-}
// this object contains all win32-specific stuff about a window:
// Warning: this object is highly subject to change!
class FL_EXPORT Fl_X {