http://slackware.bholcomb.com/slackware/slackware-11.0/source/xap/xscreensaver/xscree...
[xscreensaver] / utils / erase.h
index 2f00d3e1ae3caf6aa8f4a49c459da550cffd7070..0279272865ef4dc093667dec10dfb3d43e54bc46 100644 (file)
@@ -1,15 +1,20 @@
 /* erase.c: Erase the screen in various more or less interesting ways.
- * (c) 1997 by Johannes Keukelaar <johannes@nada.kth.se>
- * Permission to use in any way granted. Provided "as is" without expressed
- * or implied warranty. NO WARRANTY, NO EXPRESSION OF SUITABILITY FOR ANY
- * PURPOSE. (I.e.: Use in any way, but at your own risk!)
+ * Copyright (c) 1997-2001, 2006 Jamie Zawinski <jwz@jwz.org>
+ *
+ * Permission to use, copy, modify, distribute, and sell this software and its
+ * documentation for any purpose is hereby granted without fee, provided that
+ * the above copyright notice appear in all copies and that both that
+ * copyright notice and this permission notice appear in supporting
+ * documentation.  No representations are made about the suitability of this
+ * software for any purpose.  It is provided "as is" without express or 
+ * implied warranty.
  */
 
 #ifndef __XSCREENSAVER_ERASE_H__
 #define __XSCREENSAVER_ERASE_H__
 
-extern void erase_window(Display *dpy, Window window, GC gc,
-                        int width, int height, int mode, int delay);
-extern void erase_full_window(Display *dpy, Window window);
+typedef struct eraser_state eraser_state;
+
+extern eraser_state *erase_window (Display *, Window, eraser_state *);
 
 #endif /* __XSCREENSAVER_ERASE_H__ */