diff options
author | Simon Rettberg | 2021-04-06 14:43:39 +0200 |
---|---|---|
committer | Simon Rettberg | 2021-04-07 13:38:37 +0200 |
commit | 38886de0c3e9ea5729ef23e4c653fa2822f52e8f (patch) | |
tree | 9b799c8c968a92cc77746a95e0e8bdd90b6b13c3 /hacks/fpsI.h | |
parent | Maybe not remove, but ... (diff) | |
download | xscreensaver-38886de0c3e9ea5729ef23e4c653fa2822f52e8f.tar.gz xscreensaver-38886de0c3e9ea5729ef23e4c653fa2822f52e8f.tar.xz xscreensaver-38886de0c3e9ea5729ef23e4c653fa2822f52e8f.zip |
Diffstat (limited to 'hacks/fpsI.h')
-rw-r--r-- | hacks/fpsI.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/hacks/fpsI.h b/hacks/fpsI.h index 552de9c..87e9f82 100644 --- a/hacks/fpsI.h +++ b/hacks/fpsI.h @@ -1,4 +1,4 @@ -/* fps, Copyright (c) 2001-2014 Jamie Zawinski <jwz@jwz.org> +/* fps, Copyright (c) 2001-2021 Jamie Zawinski <jwz@jwz.org> * Draw a frames-per-second display (Xlib and OpenGL). * * Permission to use, copy, modify, distribute, and sell this software and its @@ -14,21 +14,21 @@ # define __XSCREENSAVER_FPSI_H__ #include "fps.h" -#undef HAVE_GLBITMAP - struct fps_state { Display *dpy; Window window; - int x, y; - XFontStruct *font; + int x, y, em; + XftFont *font; Bool clear_p; char string[1024]; /* for glx/fps-gl.c */ void *gl_fps_data; - GC draw_gc, erase_gc; + XftColor fg; + XftDraw *xftdraw; + GC erase_gc; int last_ifps; double last_fps; |