source: trunk/third/xscreensaver/utils/colorbars.h @ 20148

Revision 20148, 964 bytes 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/* xscreensaver, Copyright (c) 2001, 2003 Jamie Zawinski <jwz@jwz.org>
2 *
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
9 * implied warranty.
10 */
11
12#ifndef __COLORBARS_H__
13#define __COLORBARS_H__
14
15/* Renders colorbars (plus an xscreensaver logo) onto the
16   given Window or Pixmap.  Width and height may be zero
17   (meaning "full size".)
18
19   Colors will be allocated from the cmap, and never freed.
20 */
21extern void draw_colorbars (Screen *, Visual *, Drawable, Colormap,
22                            int x, int y, int width, int height);
23
24#endif /* __COLORBARS_H__ */
Note: See TracBrowser for help on using the repository browser.