|
fltk 1.3.0rc3
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X. Release candidate.
SfR Fresh Dox: fltk-1.3.0rc3-source.tar.gz ("inofficial" and yet experimental doxygen-generated source code documentation) ![]() |
00001 /* 00002 * "$Id: config.h 4454 2005-07-24 18:41:30Z matt $" 00003 * 00004 * Configuration file for the Fast Light Tool Kit (FLTK) for Visual C++. 00005 * 00006 * Copyright 1998-2010 by Bill Spitzak and others. 00007 * 00008 * This library is free software; you can redistribute it and/or 00009 * modify it under the terms of the GNU Library General Public 00010 * License as published by the Free Software Foundation; either 00011 * version 2 of the License, or (at your option) any later version. 00012 * 00013 * This library is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 * Library General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU Library General Public 00019 * License along with this library; if not, write to the Free Software 00020 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 00021 * USA. 00022 * 00023 * Please report all bugs and problems on the following page: 00024 * 00025 * http://www.fltk.org/str.php 00026 */ 00027 00028 /* 00029 * Where to find files... 00030 */ 00031 00032 #define FLTK_DATADIR "C:/FLTK" 00033 #define FLTK_DOCDIR "C:/FLTK/DOC" 00034 00035 /* 00036 * BORDER_WIDTH: 00037 * 00038 * Thickness of FL_UP_BOX and FL_DOWN_BOX. Current 1,2, and 3 are 00039 * supported. 3 is the historic FLTK look. 2 looks more like Microsoft 00040 * Windows, KDE, and Qt, and is the default when building for Windows. 00041 * 1 is a plausible future evolution... Note that this may be simulated 00042 * at runtime by redefining the boxtypes using Fl::set_boxtype(). 00043 */ 00044 00045 #define BORDER_WIDTH 2 00046 00047 /* 00048 * HAVE_GL: 00049 * 00050 * Do you have OpenGL? Set this to 0 if you don't have or plan to use 00051 * OpenGL, and FLTK will be smaller. 00052 */ 00053 00054 #define HAVE_GL 1 00055 00056 /* 00057 * HAVE_GL_GLU_H: 00058 * 00059 * Do you have the OpenGL Utility Library header file? 00060 * (many broken Mesa RPMs do not...) 00061 */ 00062 00063 #define HAVE_GL_GLU_H 1 00064 00065 /* 00066 * USE_COLORMAP: 00067 * 00068 * Setting this to zero will save a good deal of code (especially for 00069 * fl_draw_image), but FLTK will only work on TrueColor visuals. 00070 */ 00071 00072 #define USE_COLORMAP 1 00073 00074 /* 00075 * HAVE_XDBE: 00076 * 00077 * Do we have the X double-buffer extension? 00078 */ 00079 00080 #define HAVE_XDBE 0 00081 00082 /* 00083 * USE_XDBE: 00084 * 00085 * Actually try to use the double-buffer extension? Set this to zero 00086 * disable use of XDBE without breaking the list_visuals program. 00087 */ 00088 00089 #define USE_XDBE HAVE_XDBE 00090 00091 /* 00092 * HAVE_OVERLAY: 00093 * 00094 * Use the X overlay extension? FLTK will try to use an overlay 00095 * visual for Fl_Overlay_Window, the Gl_Window overlay, and for the 00096 * menus. Setting this to zero will remove a substantial amount of 00097 * code from FLTK. Overlays have only been tested on SGI servers! 00098 */ 00099 00100 #define HAVE_OVERLAY 0 00101 00102 /* 00103 * HAVE_GL_OVERLAY: 00104 * 00105 * It is possible your GL has an overlay even if X does not. If so, 00106 * set this to 1. 00107 */ 00108 00109 #define HAVE_GL_OVERLAY 1 00110 00111 /* 00112 * WORDS_BIGENDIAN: 00113 * 00114 * Byte order of your machine: 1 = big-endian, 0 = little-endian. 00115 */ 00116 00117 #define WORDS_BIGENDIAN 0 00118 00119 /* 00120 * U16, U32, U64: 00121 * 00122 * Types used by fl_draw_image. One of U32 or U64 must be defined. 00123 * U16 is optional but FLTK will work better with it! 00124 */ 00125 00126 #define U16 unsigned short 00127 #define U32 unsigned 00128 #undef U64 00129 00130 /* 00131 * HAVE_DIRENT_H, HAVE_SYS_NDIR_H, HAVE_SYS_DIR_H, HAVE_NDIR_H, HAVE_SCANDIR: 00132 * 00133 * Where is <dirent.h> (used only by fl_file_chooser and scandir). 00134 */ 00135 00136 /*#undef HAVE_DIRENT_H */ 00137 /*#undef HAVE_SYS_NDIR_H */ 00138 /*#undef HAVE_SYS_DIR_H */ 00139 /*#undef HAVE_NDIR_H */ 00140 /*#undef HAVE_SCANDIR */ 00141 00142 /* 00143 * Possibly missing sprintf-style functions: 00144 */ 00145 00146 #undef HAVE_VSNPRINTF 00147 #undef HAVE_SNPRINTF 00148 00149 /* 00150 * String functions... 00151 */ 00152 00153 #define HAVE_STRCASECMP 1 00154 /*#undef HAVE_STRLCAT*/ 00155 /*#undef HAVE_STRLCPY*/ 00156 00157 /* 00158 * Do we have POSIX locale support? 00159 */ 00160 00161 #define HAVE_LOCALE_H 1 00162 #define HAVE_LOCALECONV 1 00163 00164 /* 00165 * HAVE_POLL: 00166 * 00167 * Use poll() if we don't have select(). 00168 */ 00169 00170 #define HAVE_POLL 0 00171 00172 /* 00173 * Do we have various image libraries? 00174 */ 00175 00176 #define HAVE_LIBPNG 00177 #define HAVE_LIBZ 00178 #define HAVE_LIBJPEG 00179 00180 /* 00181 * Do we have Cairo ? 00182 */ 00183 00184 // uncomment the following for using cairo 00185 // #define FLTK_HAVE_CAIRO 1 00186 00187 /* 00188 * Which header file do we include for libpng? 00189 */ 00190 00191 #define HAVE_PNG_H 00192 #undef HAVE_LIBPNG_PNG_H 00193 00194 /* 00195 * Do we have the png_xyz() functions? 00196 */ 00197 00198 #define HAVE_PNG_GET_VALID 00199 #define HAVE_PNG_SET_TRNS_TO_ALPHA 00200 00201 00202 /* 00203 * End of "$Id: config.h 4454 2005-07-24 18:41:30Z matt $". 00204 */