source: trunk/third/xscreensaver/hacks/xpm-pixmap.h @ 20148

Revision 20148, 1.1 KB checked in by ghudson, 21 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r20147, which included commits to RCS files with non-trunk default branches.
Line 
1/* xpm-pixmap.h --- converts XPM data to Pixmaps.
2 * xscreensaver, Copyright (c) 1998, 2002 Jamie Zawinski <jwz@jwz.org>
3 *
4 * Permission to use, copy, modify, distribute, and sell this software and its
5 * documentation for any purpose is hereby granted without fee, provided that
6 * the above copyright notice appear in all copies and that both that
7 * copyright notice and this permission notice appear in supporting
8 * documentation.  No representations are made about the suitability of this
9 * software for any purpose.  It is provided "as is" without express or
10 * implied warranty.
11 */
12
13#ifndef _XPM_PIXMAP_H_
14#define _XPM_PIXMAP_H_
15
16/* Returns a Pixmap structure containing the bits of the given XPM image.
17 */
18extern Pixmap xpm_data_to_pixmap (Display *, Window, char **xpm_data,
19                                  int *width_ret, int *height_ret,
20                                  Pixmap *mask_ret);
21extern Pixmap xpm_file_to_pixmap (Display *, Window, const char *filename,
22                                  int *width_ret, int *height_ret,
23                                  Pixmap *mask_ret);
24
25#endif /* _XPM_PIXMAP_H_ */
Note: See TracBrowser for help on using the repository browser.