"*fpsSolid: true \n" \
# define SMOOTH_COLORS
-# define reshape_mountain 0
-# define mountain_handle_event 0
# include "xlockmore.h" /* in xscreensaver distribution */
#else /* STANDALONE */
# include "xlock.h" /* in xlockmore distribution */
}
}
+ENTRYPOINT void
+reshape_mountain(ModeInfo * mi, int width, int height)
+{
+ XClearWindow (MI_DISPLAY (mi), MI_WINDOW(mi));
+ init_mountain (mi);
+}
+
+
ENTRYPOINT void
release_mountain (ModeInfo * mi)
{
mp->y = 0;
}
+ENTRYPOINT Bool
+mountain_handle_event (ModeInfo *mi, XEvent *event)
+{
+ if (screenhack_event_helper (MI_DISPLAY(mi), MI_WINDOW(mi), event))
+ {
+ init_mountain (mi);
+ return True;
+ }
+ return False;
+}
+
XSCREENSAVER_MODULE ("Mountain", mountain)
#endif /* MODE_mountain */