source: rtems-graphics-toolkit/fltk-1.1.10/vcnet/config.h @ 513eea1

Last change on this file since 513eea1 was 513eea1, checked in by Joel Sherrill <joel.sherrill@…>, on 01/09/10 at 22:43:24

2010-01-08 Joel Sherrill <joel.sherrill@…>

fltk 1.1.10. imported

  • ORIGIN: Updated.
  • Property mode set to 100644
File size: 3.9 KB
Line 
1/*
2 * "$Id$"
3 *
4 * Configuration file for the Fast Light Tool Kit (FLTK) for Visual C++.
5 *
6 * Copyright 1998-2005 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 files...
28 */
29
30#define FLTK_DATADIR    "C:/FLTK"
31#define FLTK_DOCDIR     "C:/FLTK/DOC"
32
33/*
34 * BORDER_WIDTH:
35 *
36 * Thickness of FL_UP_BOX and FL_DOWN_BOX.  Current 1,2, and 3 are
37 * supported.  3 is the historic FLTK look.  2 looks more like Microsoft
38 * Windows, KDE, and Qt, and is the default when building for Windows.
39 * 1 is a plausible future evolution...  Note that this may be simulated
40 * at runtime by redefining the boxtypes using Fl::set_boxtype().
41 */
42
43#define BORDER_WIDTH 2
44
45/*
46 * HAVE_GL:
47 *
48 * Do you have OpenGL? Set this to 0 if you don't have or plan to use
49 * OpenGL, and FLTK will be smaller.
50 */
51
52#define HAVE_GL 1
53
54/*
55 * HAVE_GL_GLU_H:
56 *
57 * Do you have the OpenGL Utility Library header file?
58 * (many broken Mesa RPMs do not...)
59 */
60
61#define HAVE_GL_GLU_H 1
62
63/*
64 * USE_COLORMAP:
65 *
66 * Setting this to zero will save a good deal of code (especially for
67 * fl_draw_image), but FLTK will only work on TrueColor visuals.
68 */
69
70#define USE_COLORMAP 1
71
72/*
73 * HAVE_XDBE:
74 *
75 * Do we have the X double-buffer extension?
76 */
77
78#define HAVE_XDBE 0
79
80/*
81 * USE_XDBE:
82 *
83 * Actually try to use the double-buffer extension?  Set this to zero
84 * disable use of XDBE without breaking the list_visuals program.
85 */
86
87#define USE_XDBE HAVE_XDBE
88
89/*
90 * HAVE_OVERLAY:
91 *
92 * Use the X overlay extension?  FLTK will try to use an overlay
93 * visual for Fl_Overlay_Window, the Gl_Window overlay, and for the
94 * menus.  Setting this to zero will remove a substantial amount of
95 * code from FLTK.  Overlays have only been tested on SGI servers!
96 */
97
98#define HAVE_OVERLAY 0
99
100/*
101 * HAVE_GL_OVERLAY:
102 *
103 * It is possible your GL has an overlay even if X does not.  If so,
104 * set this to 1.
105 */
106
107#define HAVE_GL_OVERLAY 1
108
109/*
110 * WORDS_BIGENDIAN:
111 *
112 * Byte order of your machine: 1 = big-endian, 0 = little-endian.
113 */
114
115#define WORDS_BIGENDIAN 0
116
117/*
118 * U16, U32, U64:
119 *
120 * Types used by fl_draw_image.  One of U32 or U64 must be defined.
121 * U16 is optional but FLTK will work better with it!
122 */
123
124#define U16 unsigned short
125#define U32 unsigned
126#undef U64
127
128/*
129 * HAVE_DIRENT_H, HAVE_SYS_NDIR_H, HAVE_SYS_DIR_H, HAVE_NDIR_H, HAVE_SCANDIR:
130 *
131 * Where is <dirent.h> (used only by fl_file_chooser and scandir).
132 */
133
134/*#undef HAVE_DIRENT_H */
135/*#undef HAVE_SYS_NDIR_H */
136/*#undef HAVE_SYS_DIR_H */
137/*#undef HAVE_NDIR_H */
138/*#undef HAVE_SCANDIR */
139
140/*
141 * Possibly missing sprintf-style functions:
142 */
143
144#define HAVE_VSNPRINTF 0
145#define HAVE_SNPRINTF 0
146
147/*
148 * String functions...
149 */
150
151#define HAVE_STRCASECMP 1
152/*#undef HAVE_STRLCAT*/
153/*#undef HAVE_STRLCPY*/
154
155/*
156 * Do we have POSIX locale support?
157 */
158
159#define HAVE_LOCALE_H 1
160#define HAVE_LOCALECONV 1
161
162/*
163 * HAVE_POLL:
164 *
165 * Use poll() if we don't have select().
166 */
167
168#define HAVE_POLL 0
169
170/*
171 * Do we have various image libraries?
172 */
173
174#define HAVE_LIBPNG
175#define HAVE_LIBZ
176#define HAVE_LIBJPEG
177
178/*
179 * Which header file do we include for libpng?
180 */
181
182#define HAVE_PNG_H
183#undef HAVE_LIBPNG_PNG_H
184
185/*
186 * Do we have the png_xyz() functions?
187 */
188
189#define HAVE_PNG_GET_VALID
190#define HAVE_PNG_SET_TRNS_TO_ALPHA
191
192
193/*
194 * End of "$Id$".
195 */
Note: See TracBrowser for help on using the repository browser.