1 /* xscreensaver, Copyright (c) 2001-2006 Jamie Zawinski <jwz@jwz.org>
3 * Permission to use, copy, modify, distribute, and sell this software and its
4 * documentation for any purpose is hereby granted without fee, provided that
5 * the above copyright notice appear in all copies and that both that
6 * copyright notice and this permission notice appear in supporting
7 * documentation. No representations are made about the suitability of this
8 * software for any purpose. It is provided "as is" without express or
16 /* A dead simple XPM parser that knows how to make XImage structures.
17 Only handles single-byte color XPMs.
20 extern XImage * minixpm_to_ximage (Display *, Visual *, Colormap, int depth,
21 unsigned long transparent_color,
22 const char * const * data,
23 int *width_ret, int *height_ret,
24 unsigned long **pixels_ret,
26 unsigned char **mask_ret);
28 #endif /* __MINIXPM_H__ */