summaryrefslogtreecommitdiff
path: root/FL/x.H
diff options
context:
space:
mode:
authorLauri Kasanen <cand@gmx.com>2015-03-16 18:12:28 +0000
committerLauri Kasanen <cand@gmx.com>2015-03-16 18:12:28 +0000
commitc91e48149beda4538d47e5a3a3c393f7690d2aa4 (patch)
tree5555484e4251f56a891b6541ff555868aefadadc /FL/x.H
parent4798d70ded21f88109944bdb525d978bf74fb36d (diff)
Add support for accelerated alpha blending under X11.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10628 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/x.H')
-rw-r--r--FL/x.H1
1 files changed, 1 insertions, 0 deletions
diff --git a/FL/x.H b/FL/x.H
index f1f23f918..336acff9e 100644
--- a/FL/x.H
+++ b/FL/x.H
@@ -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; \