X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=utils%2Falpha.h;h=4ff99037b3792a1bfd1556aef718615f4127871e;hb=9c9d475ff889ed8be02e8ce8c17da28b93278fca;hp=1474367b5252b48592485cc3e4fcec68cd801c6c;hpb=ce3185de9d9705e259f2b60dd4b5509007fa17d4;p=xscreensaver diff --git a/utils/alpha.h b/utils/alpha.h index 1474367b..4ff99037 100644 --- a/utils/alpha.h +++ b/utils/alpha.h @@ -13,20 +13,10 @@ #ifndef __XSCREENSAVER_ALPHA_H__ #define __XSCREENSAVER_ALPHA_H__ -extern int allocate_color_planes (Display *dpy, Colormap cmap, - int nplanes, unsigned long *plane_masks, - unsigned long *base_pixel_ret); - -extern void initialize_transparency_colormap (Display *dpy, Colormap cmap, - int nplanes, - unsigned long base_pixel, - unsigned long *plane_masks, - XColor *colors, - Bool additive_p); - -extern Bool allocate_alpha_colors (Display *dpy, Colormap cmap, - int *nplanesP, Bool additive_p, - unsigned long **plane_masks, - unsigned long *base_pixelP); +extern Bool allocate_alpha_colors (Screen *screen, Visual *visual, + Colormap cmap, + int *nplanesP, Bool additive_p, + unsigned long **plane_masks, + unsigned long *base_pixelP); #endif /* __XSCREENSAVER_ALPHA_H__ */