~ubuntu-branches/ubuntu/hoary/fltk1.1/hoary

« back to all changes in this revision

Viewing changes to watcom/config.h

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2004-12-04 12:59:54 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20041204125954-0bnefh426a67cjgl
Tags: 1.1.6-2
test/*.cxx: Apply patch from Andreas Jochens <aj@andaco.de> to fix
bogus pointer->int casts, which GCC 4.0 rightly treats as errors on
64-bit systems.  (Closes: #284168.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * "$Id: config.h,v 1.1.2.2 2004/11/23 18:48:10 easysw Exp $"
 
3
 *
 
4
 * Configuration file for the Fast Light Tool Kit (FLTK) for Watcom C++ 1.3
 
5
 *
 
6
 * Copyright 1998-2004 by Bill Spitzak and others.
 
7
 *
 
8
 * This library is free software; you can redistribute it and/or
 
9
 * modify it under the terms of the GNU Library General Public
 
10
 * License as published by the Free Software Foundation; either
 
11
 * version 2 of the License, or (at your option) any later version.
 
12
 *
 
13
 * This library is distributed in the hope that it will be useful,
 
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
16
 * Library General Public License for more details.
 
17
 *
 
18
 * You should have received a copy of the GNU Library General Public
 
19
 * License along with this library; if not, write to the Free Software
 
20
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 
21
 * USA.
 
22
 *
 
23
 * Please report all bugs and problems to "fltk-bugs@fltk.org".
 
24
 */
 
25
 
 
26
/*
 
27
 * Where to find the documentation files...
 
28
 */
 
29
 
 
30
#define FLTK_DATADIR    "C:/FLTK"
 
31
#define FLTK_DOCDIR "C:/FLTK/DOC"
 
32
 
 
33
 
 
34
/*
 
35
 * BORDER_WIDTH:
 
36
 *
 
37
 * Thickness of FL_UP_BOX and FL_DOWN_BOX.  Current 1,2, and 3 are
 
38
 * supported.  3 is the historic FLTK look.  2 looks more like Microsoft
 
39
 * Windows, KDE, and Qt, and is the default when building for Windows.
 
40
 * 1 is a plausible future evolution...  Note that this may be simulated
 
41
 * at runtime by redefining the boxtypes using Fl::set_boxtype().
 
42
 */
 
43
 
 
44
#define BORDER_WIDTH 2
 
45
 
 
46
/*
 
47
 * HAVE_GL:
 
48
 *
 
49
 * Do you have OpenGL? Set this to 0 if you don't have or plan to use
 
50
 * OpenGL, and FLTK will be smaller.
 
51
 */
 
52
 
 
53
#define HAVE_GL 1
 
54
 
 
55
/*
 
56
 * HAVE_GL_GLU_H:
 
57
 *
 
58
 * Do you have the OpenGL Utility Library header file?
 
59
 * (many broken Mesa RPMs do not...)
 
60
 */
 
61
 
 
62
#define HAVE_GL_GLU_H 1
 
63
 
 
64
/*
 
65
 * USE_COLORMAP:
 
66
 *
 
67
 * Setting this to zero will save a good deal of code (especially for
 
68
 * fl_draw_image), but FLTK will only work on TrueColor visuals.
 
69
 */
 
70
 
 
71
#define USE_COLORMAP 1
 
72
 
 
73
/*
 
74
 * USE_XFT
 
75
 *
 
76
 * Use the new Xft library to draw anti-aliased text.
 
77
 */
 
78
 
 
79
#define USE_XFT 0
 
80
 
 
81
/*
 
82
 * HAVE_XDBE:
 
83
 *
 
84
 * Do we have the X double-buffer extension?
 
85
 */
 
86
 
 
87
#define HAVE_XDBE 0
 
88
 
 
89
/*
 
90
 * USE_XDBE:
 
91
 *
 
92
 * Actually try to use the double-buffer extension?  Set this to zero
 
93
 * disable use of XDBE without breaking the list_visuals program.
 
94
 */
 
95
 
 
96
#define USE_XDBE HAVE_XDBE
 
97
 
 
98
/*
 
99
 * HAVE_OVERLAY:
 
100
 *
 
101
 * Use the X overlay extension?  FLTK will try to use an overlay
 
102
 * visual for Fl_Overlay_Window, the Gl_Window overlay, and for the
 
103
 * menus.  Setting this to zero will remove a substantial amount of
 
104
 * code from FLTK.  Overlays have only been tested on SGI servers!
 
105
 */
 
106
 
 
107
#define HAVE_OVERLAY 0
 
108
 
 
109
/*
 
110
 * HAVE_GL_OVERLAY:
 
111
 *
 
112
 * It is possible your GL has an overlay even if X does not.  If so,
 
113
 * set this to 1.
 
114
 */
 
115
 
 
116
#define HAVE_GL_OVERLAY 1
 
117
 
 
118
/*
 
119
 * WORDS_BIGENDIAN:
 
120
 *
 
121
 * Byte order of your machine: 1 = big-endian, 0 = little-endian.
 
122
 */
 
123
 
 
124
#define WORDS_BIGENDIAN 0
 
125
 
 
126
/*
 
127
 * U16, U32, U64:
 
128
 *
 
129
 * Types used by fl_draw_image.  One of U32 or U64 must be defined.
 
130
 * U16 is optional but FLTK will work better with it!
 
131
 */
 
132
 
 
133
#define U16 unsigned short
 
134
#define U32 unsigned
 
135
/* #undef U64 */
 
136
 
 
137
/*
 
138
 * HAVE_DIRENT_H, HAVE_SYS_NDIR_H, HAVE_SYS_DIR_H, HAVE_NDIR_H, HAVE_SCANDIR:
 
139
 *
 
140
 * Where is <dirent.h> (used only by fl_file_chooser and scandir).
 
141
 */
 
142
 
 
143
#define HAVE_DIRENT_H 1
 
144
/* #undef HAVE_SYS_NDIR_H */
 
145
/* #undef HAVE_SYS_DIR_H */
 
146
/* #undef HAVE_NDIR_H */
 
147
/* #undef HAVE_SCANDIR */
 
148
 
 
149
/*
 
150
 * Possibly missing sprintf-style functions:
 
151
 */
 
152
 
 
153
#define HAVE_VSNPRINTF 1
 
154
#define HAVE_SNPRINTF 1
 
155
 
 
156
/*
 
157
 * String functions and headers...
 
158
 */
 
159
 
 
160
/* #undef HAVE_STRINGS_H */
 
161
#define HAVE_STRCASECMP 1
 
162
/* #undef HAVE_STRLCAT */
 
163
/* #undef HAVE_STRLCPY */
 
164
 
 
165
/*
 
166
 * HAVE_SYS_SELECT_H:
 
167
 *
 
168
 * Whether or not select() call has its own header file.
 
169
 */
 
170
 
 
171
/* #undef HAVE_SYS_SELECT_H */
 
172
 
 
173
/*
 
174
 * HAVE_SYS_STDTYPES_H:
 
175
 *
 
176
 * Whether or not we have the <sys/stdtypes.h> header file.
 
177
 */
 
178
 
 
179
/* #undef HAVE_SYS_STDTYPES_H */
 
180
 
 
181
/*
 
182
 * HAVE_POLL:
 
183
 *
 
184
 * Use poll() if we don't have select().
 
185
 */
 
186
 
 
187
#define HAVE_POLL 0
 
188
 
 
189
/*
 
190
 * Do we have various image libraries?
 
191
 */
 
192
 
 
193
/* #undef HAVE_LIBPNG */
 
194
/* #undef HAVE_LIBZ */
 
195
/* #undef HAVE_LIBJPEG */
 
196
 
 
197
/*
 
198
 * Which header file do we include for libpng?
 
199
 */
 
200
 
 
201
/* #undef HAVE_PNG_H */
 
202
/* #undef HAVE_LIBPNG_PNG_H */
 
203
 
 
204
/*
 
205
 * Do we have the png_xyz() functions?
 
206
 */
 
207
 
 
208
/* #undef HAVE_PNG_GET_VALID */
 
209
/* #undef HAVE_PNG_SET_TRNS_TO_ALPHA */
 
210
/* #undef HAVE_PNG_READ_DESTROY */
 
211
 
 
212
/*
 
213
 * Do we have POSIX threading?
 
214
 */
 
215
 
 
216
/* #undef HAVE_PTHREAD */
 
217
/* #undef HAVE_PTHREAD_H */
 
218
 
 
219
 
 
220
/*
 
221
 * End of "$Id: config.h,v 1.1.2.2 2004/11/23 18:48:10 easysw Exp $".
 
222
 */