Subversion Repositories shark

Rev

Details | Last modification | View Log | RSS feed

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