"*ncolors: 64 \n" \
"*fpsSolid: true \n" \
"*ignoreRotation: True \n" \
+ "*lowrez: True \n" \
# define BRIGHT_COLORS
# define release_thornbird 0
+# define reshape_thornbird 0
# define thornbird_handle_event 0
# include "xlockmore.h" /* in xscreensaver distribution */
#else /* STANDALONE */
#ifdef USE_MODULES
ModStruct thornbird_description =
{"thornbird", "init_thornbird", "draw_thornbird", (char *) NULL,
- "refresh_thornbird", "init_thornbird", (char *) NULL, þbird_opts,
+ "refresh_thornbird", "init_thornbird", "free_thornbird", þbird_opts,
1000, 800, 16, 1, 64, 1.0, "",
"Shows an animated Bird in a Thorn Bush fractal map", 0, NULL};
static thornbirdstruct *thornbirds = (thornbirdstruct *) NULL;
-static void
+ENTRYPOINT void
free_thornbird(ModeInfo * mi)
{
thornbirdstruct *hp = þbirds[MI_SCREEN(mi)];
{
thornbirdstruct *hp;
- MI_INIT (mi, thornbirds, free_thornbird);
+ MI_INIT (mi, thornbirds);
hp = þbirds[MI_SCREEN(mi)];
hp->inc++;
}
-ENTRYPOINT void
-reshape_thornbird(ModeInfo * mi, int width, int height)
-{
- XClearWindow (MI_DISPLAY (mi), MI_WINDOW(mi));
- init_thornbird (mi);
-}
-
+#ifndef STANDALONE
ENTRYPOINT void
refresh_thornbird (ModeInfo * mi)
{
MI_CLEARWINDOW(mi);
}
+#endif
XSCREENSAVER_MODULE ("Thornbird", thornbird)