File: HsGLUT.h

package info (click to toggle)
haskell-glut 2.1.1.1-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 664 kB
  • ctags: 34
  • sloc: sh: 2,854; haskell: 2,297; makefile: 79; ansic: 53
file content (47 lines) | stat: -rw-r--r-- 1,222 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/* include/HsGLUT.h.  Generated from HsGLUT.h.in by configure.  */
/* -----------------------------------------------------------------------------
 *
 * Module      :  C support for Graphics.UI.GLUT.Fonts
 * Copyright   :  (c) Sven Panne 2002-2005
 * License     :  BSD-style (see the file libraries/GLUT/LICENSE)
 *
 * Maintainer  :  sven.panne@aedion.de
 * Stability   :  provisional
 * Portability :  portable
 *
 * -------------------------------------------------------------------------- */

#ifndef HSGLUT_H
#define HSGLUT_H

/* Define to 1 if you have the <GL/glut.h> header file. */
#define HAVE_GL_GLUT_H 1

/* Define to 1 if you have the <windows.h> header file. */
/* #undef HAVE_WINDOWS_H */

/* Define to 1 if native OpenGL should be used on Mac OS X */
/* #undef USE_QUARTZ_OPENGL */

#ifdef USE_QUARTZ_OPENGL /* Mac OS X only */
#include <GLUT/glut.h>
#else
#if HAVE_WINDOWS_H
#include <windows.h>
#endif
#if HAVE_GL_GLUT_H
#include <GL/glut.h>
#else
#include "glut_local.h"
#endif
#endif

#if FREEGLUT
#include <GL/freeglut_ext.h>
#endif

extern void* hs_GLUT_marshalBitmapFont(int fontID);
extern void* hs_GLUT_marshalStrokeFont(int fontID);
extern void* hs_GLUT_getProcAddress(char *procName);

#endif