*
* 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
/* I'm told that the Sun version of OpenGL needs to have the constant
SUN_OGL_NO_VERTEX_MACROS defined in order for morph3d to compile
/* I'm told that the Sun version of OpenGL needs to have the constant
SUN_OGL_NO_VERTEX_MACROS defined in order for morph3d to compile
extern Visual *xlockmore_pick_gl_visual (Screen *);
extern Bool xlockmore_validate_gl_visual (Screen *, const char *, Visual *);
extern Visual *xlockmore_pick_gl_visual (Screen *);
extern Bool xlockmore_validate_gl_visual (Screen *, const char *, Visual *);
/* These are only used in GL mode, but I don't understand why XCode
isn't seeing the prototypes for them in glx/fps-gl.c... */
/* These are only used in GL mode, but I don't understand why XCode
isn't seeing the prototypes for them in glx/fps-gl.c... */
extern void xlockmore_setup (struct xscreensaver_function_table *, void *);
extern void xlockmore_do_fps (Display *, Window, fps_state *, void *);
extern void xlockmore_setup (struct xscreensaver_function_table *, void *);
extern void xlockmore_do_fps (Display *, Window, fps_state *, void *);
-
-
-extern void xlockmore_mi_init (ModeInfo *, size_t, void **,
- void (*) (ModeInfo *));
+extern void xlockmore_mi_init (ModeInfo *, size_t, void **);
+extern Bool xlockmore_no_events (ModeInfo *, XEvent *);
/* Used only by OpenGL programs, since FPS is tricky there. */
fps_state *fpst;
Bool fps_p;
unsigned long polygon_count; /* These values are for -fps display only */
double recursion_depth;
/* Used only by OpenGL programs, since FPS is tricky there. */
fps_state *fpst;
Bool fps_p;
unsigned long polygon_count; /* These values are for -fps display only */
double recursion_depth;
};
typedef enum { t_String, t_Float, t_Int, t_Bool } xlockmore_type;
};
typedef enum { t_String, t_Float, t_Int, t_Bool } xlockmore_type;
void (*hack_init) (ModeInfo *);
void (*hack_draw) (ModeInfo *);
void (*hack_reshape) (ModeInfo *, int, int);
void (*hack_init) (ModeInfo *);
void (*hack_draw) (ModeInfo *);
void (*hack_reshape) (ModeInfo *, int, int);