~ubuntu-branches/ubuntu/raring/mesa/raring-proposed

« back to all changes in this revision

Viewing changes to src/glut/beos/glutstroke.h

  • Committer: Bazaar Package Importer
  • Author(s): Cyril Brulebois
  • Date: 2011-06-19 21:26:00 UTC
  • mfrom: (1.6.1 upstream) (3.3.18 sid)
  • mto: (3.3.20 sid)
  • mto: This revision was merged to the branch mainline in revision 145.
  • Revision ID: james.westby@ubuntu.com-20110619212600-rleaapdmnbtstekb
Tags: 7.11~0-2
Thank you sbuild for giving a green light when that's not actually the
case. Fix missing Pre-Depends for the libegl1-mesa-drivers package
(multiarch-support).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __glutstroke_h__
 
2
#define __glutstroke_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
#if defined(_WIN32)
 
11
#pragma warning (disable:4244)  /* disable bogus conversion warnings */
 
12
#pragma warning (disable:4305)  /* VC++ 5.0 version of above warning. */
 
13
#endif
 
14
 
 
15
typedef struct {
 
16
  float x;
 
17
  float y;
 
18
} CoordRec, *CoordPtr;
 
19
 
 
20
typedef struct {
 
21
  int num_coords;
 
22
  const CoordRec *coord;
 
23
} StrokeRec, *StrokePtr;
 
24
 
 
25
typedef struct {
 
26
  int num_strokes;
 
27
  const StrokeRec *stroke;
 
28
  float center;
 
29
  float right;
 
30
} StrokeCharRec, *StrokeCharPtr;
 
31
 
 
32
typedef struct {
 
33
  const char *name;
 
34
  int num_chars;
 
35
  const StrokeCharRec *ch;
 
36
  float top;
 
37
  float bottom;
 
38
} StrokeFontRec, *StrokeFontPtr;
 
39
 
 
40
typedef void *GLUTstrokeFont;
 
41
 
 
42
#endif /* __glutstroke_h__ */