1*da465207SAlexander von Gluck IV #ifndef __glutbitmap_h__ 2*da465207SAlexander von Gluck IV #define __glutbitmap_h__ 3*da465207SAlexander von Gluck IV 4*da465207SAlexander von Gluck IV /* Copyright (c) Mark J. Kilgard, 1994. */ 5*da465207SAlexander von Gluck IV 6*da465207SAlexander von Gluck IV /* This program is freely distributable without licensing fees 7*da465207SAlexander von Gluck IV and is provided without guarantee or warrantee expressed or 8*da465207SAlexander von Gluck IV implied. This program is -not- in the public domain. */ 9*da465207SAlexander von Gluck IV 10*da465207SAlexander von Gluck IV #include <GL/glut.h> 11*da465207SAlexander von Gluck IV 12*da465207SAlexander von Gluck IV typedef struct { 13*da465207SAlexander von Gluck IV const GLsizei width; 14*da465207SAlexander von Gluck IV const GLsizei height; 15*da465207SAlexander von Gluck IV const GLfloat xorig; 16*da465207SAlexander von Gluck IV const GLfloat yorig; 17*da465207SAlexander von Gluck IV const GLfloat advance; 18*da465207SAlexander von Gluck IV const GLubyte *bitmap; 19*da465207SAlexander von Gluck IV } BitmapCharRec, *BitmapCharPtr; 20*da465207SAlexander von Gluck IV 21*da465207SAlexander von Gluck IV typedef struct { 22*da465207SAlexander von Gluck IV const char *name; 23*da465207SAlexander von Gluck IV const int num_chars; 24*da465207SAlexander von Gluck IV const int first; 25*da465207SAlexander von Gluck IV const BitmapCharRec * const *ch; 26*da465207SAlexander von Gluck IV } BitmapFontRec, *BitmapFontPtr; 27*da465207SAlexander von Gluck IV 28*da465207SAlexander von Gluck IV typedef void *GLUTbitmapFont; 29*da465207SAlexander von Gluck IV 30*da465207SAlexander von Gluck IV #endif /* __glutbitmap_h__ */ 31