X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=jwxyz%2Fjwxyz.h;h=0e289c784651a209ba0df134f440aad33cd13fab;hp=ef0a202e84865053dee695fde90ef31c547ad013;hb=78add6e627ee5f10e1fa6f3852602ea5066eee5a;hpb=39809ded547bdbb08207d3e514950425215b4410 diff --git a/jwxyz/jwxyz.h b/jwxyz/jwxyz.h index ef0a202e..0e289c78 100644 --- a/jwxyz/jwxyz.h +++ b/jwxyz/jwxyz.h @@ -1,4 +1,4 @@ -/* xscreensaver, Copyright (c) 1991-2017 Jamie Zawinski +/* xscreensaver, Copyright (c) 1991-2018 Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -428,6 +428,8 @@ extern void jwxyz_draw_NSImage_or_CGImage (Display *, Drawable, Bool nsimg_p, void *NSImage_arg, XRectangle *geom_ret, int exif_rotation); +extern XImage *jwxyz_png_to_ximage (Display *, Visual *, + const unsigned char *, unsigned long size); extern int XSetGraphicsExposures (Display *, GC, Bool); extern Bool XTranslateCoordinates (Display *, Window src_w, Window dest_w,