X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fglxfonts.h;fp=hacks%2Fglx%2Fglxfonts.h;h=0000000000000000000000000000000000000000;hp=5c793fe33114422edfc75751d60afbe6680215df;hb=d5186197bc394e10a4402f7f6d23fbb14103bc50;hpb=6afd6db0ae9396cd7ff897ade597cd5483f49b0e diff --git a/hacks/glx/glxfonts.h b/hacks/glx/glxfonts.h deleted file mode 100644 index 5c793fe3..00000000 --- a/hacks/glx/glxfonts.h +++ /dev/null @@ -1,36 +0,0 @@ -/* glxfonts, Copyright (c) 2001-2014 Jamie Zawinski - * Loads X11 fonts for use with OpenGL. - * - * Permission to use, copy, modify, distribute, and sell this software and its - * documentation for any purpose is hereby granted without fee, provided that - * the above copyright notice appear in all copies and that both that - * copyright notice and this permission notice appear in supporting - * documentation. No representations are made about the suitability of this - * software for any purpose. It is provided "as is" without express or - * implied warranty. - * - * Loads X11 fonts for use with OpenGL. - */ - -#ifndef __GLXFONTS_H__ -#define __GLXFONTS_H__ - -#include "texfont.h" - -/* Draws the string on the window at the given pixel position. - Newlines and tab stops are honored. - Any numbers inside [] will be rendered as a subscript. - Assumes the font has been loaded as with load_texture_font(). - - If width and height are 0, then instead the text is placed - into the 3D scene at the origin, billboarded to face the - viewer. - */ -void print_gl_string (Display *dpy, - texture_font_data *font, - int window_width, int window_height, - GLfloat x, GLfloat y, - const char *string, - Bool clear_background_p); - -#endif /* __GLXFONTS_H__ */