X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2FxlockmoreI.h;h=ad1ac8d2dfc49d8b530254675cf9c7fe1aec4fdf;hb=3f9592851ce4ed76a9979bfdd6ec7dc5c457e183;hp=3629804c52565a34683b5a670ff8429d8483ea86;hpb=ce3185de9d9705e259f2b60dd4b5509007fa17d4;p=xscreensaver diff --git a/hacks/xlockmoreI.h b/hacks/xlockmoreI.h index 3629804c..ad1ac8d2 100644 --- a/hacks/xlockmoreI.h +++ b/hacks/xlockmoreI.h @@ -1,5 +1,5 @@ /* xlockmore.h --- xscreensaver compatibility layer for xlockmore modules. - * xscreensaver, Copyright (c) 1997, 1998 Jamie Zawinski + * xscreensaver, Copyright (c) 1997, 1998, 2001 Jamie Zawinski * * 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__ */