- * xscreensaver, Copyright (c) 1997, 1998 Jamie Zawinski <jwz@netscape.com>
+ * xscreensaver, Copyright (c) 1997, 1998, 2001 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
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
*
* The definitions in this file make it possible to compile an xlockmore
* module into a standalone program, and thus use it with xscreensaver.
*
* The definitions in this file make it possible to compile an xlockmore
* module into a standalone program, and thus use it with xscreensaver.
* in the older xlock.h by Charles Hannum <mycroft@ai.mit.edu>. (I had
* to redo it, since xlockmore has diverged so far from xlock...)
*/
* in the older xlock.h by Charles Hannum <mycroft@ai.mit.edu>. (I had
* to redo it, since xlockmore has diverged so far from xlock...)
*/
#define MI_CYCLES(MI) ((MI)->cycles)
#define MI_BATCHCOUNT(MI) ((MI)->batchcount)
#define MI_SIZE(MI) ((MI)->size)
#define MI_CYCLES(MI) ((MI)->cycles)
#define MI_BATCHCOUNT(MI) ((MI)->batchcount)
#define MI_SIZE(MI) ((MI)->size)
#define MI_WIDTH(MI) (MI_WIN_WIDTH((MI)))
#define MI_HEIGHT(MI) (MI_WIN_HEIGHT((MI)))
#define MI_IS_ICONIC(MI) (MI_WIN_IS_ICONIC((MI)))
#define MI_WIDTH(MI) (MI_WIN_WIDTH((MI)))
#define MI_HEIGHT(MI) (MI_WIN_HEIGHT((MI)))
#define MI_IS_ICONIC(MI) (MI_WIN_IS_ICONIC((MI)))
#define MI_WHITE_PIXEL(MI) (MI_WIN_WHITE_PIXEL(MI))
#define MI_IS_FULLRANDOM(MI) (MI_WIN_IS_FULLRANDOM(MI))
#define MI_IS_VERBOSE(MI) (MI_WIN_IS_VERBOSE(MI))
#define MI_WHITE_PIXEL(MI) (MI_WIN_WHITE_PIXEL(MI))
#define MI_IS_FULLRANDOM(MI) (MI_WIN_IS_FULLRANDOM(MI))
#define MI_IS_VERBOSE(MI) (MI_WIN_IS_VERBOSE(MI))
/* Emit code for the entrypoint used by screenhack.c, and pass control
down into xlockmore.c with the appropriate parameters.
/* Emit code for the entrypoint used by screenhack.c, and pass control
down into xlockmore.c with the appropriate parameters.