X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=utils%2Ferase.h;h=0279272865ef4dc093667dec10dfb3d43e54bc46;hb=49f5b54f312fe4ac2e9bc47581a72451bd0e8439;hp=2f00d3e1ae3caf6aa8f4a49c459da550cffd7070;hpb=5b7bc6e70fb439cf4c4bf771ae9f94077fe4fe08;p=xscreensaver diff --git a/utils/erase.h b/utils/erase.h index 2f00d3e1..02792728 100644 --- a/utils/erase.h +++ b/utils/erase.h @@ -1,15 +1,20 @@ /* erase.c: Erase the screen in various more or less interesting ways. - * (c) 1997 by Johannes Keukelaar - * 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 + * + * 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__ */