X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=utils%2Fcolorbars.h;h=ee4b517aa3c6595f7762a22d012f6fba74e53bf7;hb=40eacb5812ef7c0e3374fb139afbb4f5bc8bbfb5;hp=93661a8123d44c51567aa32021bc19d780822a71;hpb=2c902d6065f9856adf31e8540a94f1e42e68e905;p=xscreensaver diff --git a/utils/colorbars.h b/utils/colorbars.h index 93661a81..ee4b517a 100644 --- a/utils/colorbars.h +++ b/utils/colorbars.h @@ -1,4 +1,4 @@ -/* xscreensaver, Copyright (c) 2001 Jamie Zawinski +/* xscreensaver, Copyright (c) 2001, 2003 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 @@ -12,7 +12,13 @@ #ifndef __COLORBARS_H__ #define __COLORBARS_H__ -extern void draw_colorbars (Display *dpy, Window window, +/* Renders colorbars (plus an xscreensaver logo) onto the + given Window or Pixmap. Width and height may be zero + (meaning "full size".) + + Colors will be allocated from the cmap, and never freed. + */ +extern void draw_colorbars (Screen *, Visual *, Drawable, Colormap, int x, int y, int width, int height); #endif /* __COLORBARS_H__ */