http://packetstormsecurity.org/UNIX/admin/xscreensaver-4.03.tar.gz
[xscreensaver] / hacks / xlockmoreI.h
index 3629804c52565a34683b5a670ff8429d8483ea86..ad1ac8d2dfc49d8b530254675cf9c7fe1aec4fdf 100644 (file)
@@ -1,5 +1,5 @@
 /* xlockmore.h --- xscreensaver compatibility layer for xlockmore modules.
- * xscreensaver, Copyright (c) 1997, 1998 Jamie Zawinski <jwz@jwz.org>
+ * 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
@@ -70,6 +70,9 @@ typedef struct ModeInfo {
   Bool wireframe_p;
   Bool is_drawn;
 
+  Bool fps_p;
+  unsigned long polygon_count;  /* used only by FPS display */
+
 #ifdef HAVE_XSHM_EXTENSION
   Bool use_shm;
   XShmSegmentInfo shm_info;
@@ -107,10 +110,7 @@ extern void xlockmore_screenhack (Display *dpy, Window window,
                                  Bool want_bright_colors,
                                  void (*hack_init) (ModeInfo *),
                                  void (*hack_draw) (ModeInfo *),
+                                 void (*hack_reshape) (ModeInfo *, int, int),
                                  void (*hack_free) (ModeInfo *));
 
-#ifdef USE_GL
-extern Visual *get_gl_visual (Screen *screen, char *name, char *class);
-#endif
-
 #endif /* __XLOCKMORE_INTERNAL_H__ */