summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1998-12-02 20:05:03 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1998-12-02 20:05:03 +0000
commit5c85287f329ca2a3ac03ad02554cb6965cf2980b (patch)
treed19264bb6397e42902e363ef3867503c688ef8c4 /FL
parent8970b5da2d153f74753ce5e107cc66c974f32bf2 (diff)
Fl_Pixmap bug fix from Bill.
git-svn-id: file:///fltk/svn/fltk/trunk@123 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/win32.H9
1 files changed, 5 insertions, 4 deletions
diff --git a/FL/win32.H b/FL/win32.H
index 401051004..ceb08776c 100644
--- a/FL/win32.H
+++ b/FL/win32.H
@@ -1,5 +1,5 @@
//
-// "$Id: win32.H,v 1.11 1998/11/08 14:36:54 mike Exp $"
+// "$Id: win32.H,v 1.12 1998/12/02 20:05:03 mike Exp $"
//
// WIN32 header file for the Fast Light Tool Kit (FLTK).
//
@@ -111,14 +111,15 @@ extern MSG fl_msg;
extern HDC fl_makeDC(HBITMAP);
#define fl_begin_offscreen(b) \
- HDC _sgc=fl_gc; Window _sw=fl_window; fl_gc=fl_makeDC(b); fl_window=(HWND)b
+ HDC _sgc=fl_gc; Window _sw=fl_window; \
+ fl_gc=fl_makeDC(b); fl_window=(HWND)b; fl_push_no_clip()
#define fl_end_offscreen() \
- DeleteDC(fl_gc); fl_window=_sw; fl_gc = _sgc
+ fl_pop_clip(); DeleteDC(fl_gc); fl_window=_sw; fl_gc = _sgc
void fl_copy_offscreen(int x,int y,int w,int h,HBITMAP pixmap,int srcx,int srcy);
#define fl_delete_offscreen(bitmap) DeleteObject(bitmap);
//
-// End of "$Id: win32.H,v 1.11 1998/11/08 14:36:54 mike Exp $".
+// End of "$Id: win32.H,v 1.12 1998/12/02 20:05:03 mike Exp $".
//