diff options
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Device.H | 3 | ||||
| -rw-r--r-- | FL/x.H | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/FL/Fl_Device.H b/FL/Fl_Device.H index 4d048d179..df66e7a75 100644 --- a/FL/Fl_Device.H +++ b/FL/Fl_Device.H @@ -525,6 +525,9 @@ public: int height(); int descent(); void copy_offscreen(int x, int y, int w, int h, Fl_Offscreen pixmap, int srcx, int srcy); +#if ! defined(FL_DOXYGEN) + void copy_offscreen_with_alpha(int x, int y, int w, int h, Fl_Offscreen pixmap, int srcx, int srcy); +#endif }; #endif @@ -84,6 +84,7 @@ extern FL_EXPORT ulong fl_event_time; // off-screen pixmaps: create, destroy, draw into, copy to window: typedef ulong Fl_Offscreen; # define fl_create_offscreen(w,h) XCreatePixmap(fl_display, RootWindow(fl_display, fl_screen), w, h, fl_visual->depth) +# define fl_create_offscreen_with_alpha(w,h) XCreatePixmap(fl_display, RootWindow(fl_display, fl_screen), w, h, 32) // begin/end are macros that save the old state in local variables: # define fl_begin_offscreen(pixmap) \ Window _sw=fl_window; fl_window=pixmap; \ |
