diff options
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Device.H | 8 | ||||
| -rw-r--r-- | FL/win32.H | 3 |
2 files changed, 8 insertions, 3 deletions
diff --git a/FL/Fl_Device.H b/FL/Fl_Device.H index 07bda3f35..7da51df50 100644 --- a/FL/Fl_Device.H +++ b/FL/Fl_Device.H @@ -4,7 +4,7 @@ // Definition of classes Fl_Device, Fl_Graphics_Driver, Fl_Surface_Device, Fl_Display_Device // for the Fast Light Tool Kit (FLTK). // -// Copyright 2010-2011 by Bill Spitzak and others. +// Copyright 2010-2012 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -421,6 +421,9 @@ public: void text_extents(const char*, int n, int& dx, int& dy, int& w, int& h); int height(); int descent(); +#if ! defined(FL_DOXYGEN) + static Fl_Offscreen create_offscreen_with_alpha(int w, int h); +#endif }; #endif #if defined(WIN32) || defined(FL_DOXYGEN) @@ -451,6 +454,9 @@ public: void text_extents(const char*, int n, int& dx, int& dy, int& w, int& h); int height(); int descent(); +#if ! defined(FL_DOXYGEN) + void copy_offscreen_with_alpha(int x,int y,int w,int h,HBITMAP bitmap,int srcx,int srcy); +#endif }; #endif #if !(defined(__APPLE__) || defined(WIN32)) diff --git a/FL/win32.H b/FL/win32.H index d8c59cf7e..dec7cebbf 100644 --- a/FL/win32.H +++ b/FL/win32.H @@ -3,7 +3,7 @@ // // WIN32 header file for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2011 by Bill Spitzak and others. +// Copyright 1998-2012 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -136,7 +136,6 @@ typedef HBITMAP Fl_Offscreen; 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 |
