source: trunk/src/opengl/glut/glutbitmap.h@ 2597

Last change on this file since 2597 was 2595, checked in by sandervl, 26 years ago

JvdH:Ported SGI GLUT sources + Opengl update

File size: 720 bytes
Line 
1#ifndef __glutbitmap_h__
2#define __glutbitmap_h__
3
4/* Copyright (c) Mark J. Kilgard, 1994. */
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#include "gl.h"
11
12typedef struct {
13 const GLsizei width;
14 const GLsizei height;
15 const GLfloat xorig;
16 const GLfloat yorig;
17 const GLfloat advance;
18 const GLubyte *bitmap;
19} BitmapCharRec, *BitmapCharPtr;
20
21typedef struct {
22 const char *name;
23 const int num_chars;
24 const int first;
25 const BitmapCharRec * const *ch;
26} BitmapFontRec, *BitmapFontPtr;
27
28#include "glut.h"
29
30typedef void *GLUTbitmapFont;
31
32#endif /* __glutbitmap_h__ */
Note: See TracBrowser for help on using the repository browser.