mirror of
https://github.com/fltk/fltk.git
synced 2026-06-06 00:22:42 +08:00
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:
+5
-4
@@ -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).
|
// WIN32 header file for the Fast Light Tool Kit (FLTK).
|
||||||
//
|
//
|
||||||
@@ -111,14 +111,15 @@ extern MSG fl_msg;
|
|||||||
|
|
||||||
extern HDC fl_makeDC(HBITMAP);
|
extern HDC fl_makeDC(HBITMAP);
|
||||||
#define fl_begin_offscreen(b) \
|
#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() \
|
#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);
|
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);
|
#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 $".
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user