diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2006-09-16 16:02:00 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2006-09-16 16:02:00 +0000 |
| commit | b39938e5cc0ce645dde8b1a686811fe7e3164a50 (patch) | |
| tree | 5982044416dc7b7245364b6d5357664565745785 /FL | |
| parent | 8238e057272f705784571f51d19bf4019c6d4acd (diff) | |
OK, I believe I fixed the transparency issues on WIN32. Please everyone, test the code on all machines.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5436 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Enumerations.H | 4 | ||||
| -rw-r--r-- | FL/win32.H | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/FL/Enumerations.H b/FL/Enumerations.H index 257af0eb7..0ed610131 100644 --- a/FL/Enumerations.H +++ b/FL/Enumerations.H @@ -401,6 +401,10 @@ enum Fl_Mode { // visual types and Fl_Gl_Window::mode() (values match Glut) FL_FAKE_SINGLE = 512 // Fake single buffered windows using double-buffer }; +// image alpha blending + +#define FL_IMAGE_WITH_ALPHA 0x40000000 + // damage masks enum Fl_Damage { diff --git a/FL/win32.H b/FL/win32.H index fdab206af..ad1b69369 100644 --- a/FL/win32.H +++ b/FL/win32.H @@ -132,6 +132,7 @@ extern FL_EXPORT HDC fl_makeDC(HBITMAP); fl_pop_clip(); RestoreDC(fl_gc, _savedc); DeleteDC(fl_gc); fl_window=_sw; fl_gc = _sgc FL_EXPORT void fl_copy_offscreen(int x,int y,int w,int h,HBITMAP pixmap,int srcx,int srcy); +FL_EXPORT void fl_copy_offscreen_with_alpha(int x,int y,int w,int h,HBITMAP pixmap,int srcx,int srcy); #define fl_delete_offscreen(bitmap) DeleteObject(bitmap); // Bitmap masks |
