X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2FxlockmoreI.h;h=500de7a4c1ff970e528c653001ca65b240a163ec;hb=13dbc569cdc6e29019722c0ef9b932a925efbcad;hp=2813c754a7c8b79587b157cae39a06ffcaf5c976;hpb=df7adbee81405e2849728a24b498ad2117784b1f;p=xscreensaver diff --git a/hacks/xlockmoreI.h b/hacks/xlockmoreI.h index 2813c754..500de7a4 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-2002 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; @@ -105,8 +108,12 @@ extern void xlockmore_screenhack (Display *dpy, Window window, Bool want_uniform_colors, Bool want_smooth_colors, Bool want_bright_colors, + unsigned long event_mask, void (*hack_init) (ModeInfo *), void (*hack_draw) (ModeInfo *), + void (*hack_reshape) (ModeInfo *, int, int), + Bool (*hack_handle_events) (ModeInfo *, + XEvent *), void (*hack_free) (ModeInfo *)); #endif /* __XLOCKMORE_INTERNAL_H__ */