Minor tweaks to get the fbconfig list returned by __driCreateNewScreen
[mesa.git] / src / glut / beos / glutbitmap.h
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
11 #if defined(WIN32)
12 #include <windows.h>
13 #pragma warning(disable:4244)
14 #endif /* WIN32 */
15 #include <GL/gl.h>
16
17 typedef struct {
18 const GLsizei width;
19 const GLsizei height;
20 const GLfloat xorig;
21 const GLfloat yorig;
22 const GLfloat advance;
23 const GLubyte *bitmap;
24 } BitmapCharRec, *BitmapCharPtr;
25
26 typedef struct {
27 const char *name;
28 const int num_chars;
29 const int first;
30 const BitmapCharRec * const *ch;
31 } BitmapFontRec, *BitmapFontPtr;
32
33 typedef void *GLUTbitmapFont;
34
35 #endif /* __glutbitmap_h__ */