Fl_Pixmap bug fix from Bill.

git-svn-id: file:///fltk/svn/fltk/trunk@123 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 1998-12-02 20:05:03 +00:00
parent 8970b5da2d
commit 5c85287f32

View File

@ -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 $".
//