HaikuDepot: notify work status from main window
[haiku.git] / src / libs / glut / glutstroke.h
blob370b53593acc5de4dc0bc2c2aaf9abac3b8afdf4
1 /*
2 * Copyright 1994-1997 Mark Kilgard, All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * GPL licensing not permitted.
7 * Authors:
8 * Mark Kilgard
9 */
10 #ifndef __glutstroke_h__
11 #define __glutstroke_h__
14 #if defined(_WIN32)
15 #pragma warning (disable:4244) /* disable bogus conversion warnings */
16 #pragma warning (disable:4305) /* VC++ 5.0 version of above warning. */
17 #endif
19 typedef struct {
20 float x;
21 float y;
22 } CoordRec, *CoordPtr;
24 typedef struct {
25 int num_coords;
26 const CoordRec *coord;
27 } StrokeRec, *StrokePtr;
29 typedef struct {
30 int num_strokes;
31 const StrokeRec *stroke;
32 float center;
33 float right;
34 } StrokeCharRec, *StrokeCharPtr;
36 typedef struct {
37 const char *name;
38 int num_chars;
39 const StrokeCharRec *ch;
40 float top;
41 float bottom;
42 } StrokeFontRec, *StrokeFontPtr;
44 typedef void *GLUTstrokeFont;
46 #endif /* __glutstroke_h__ */