summaryrefslogtreecommitdiff
path: root/makefiles
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1998-10-20 14:43:42 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1998-10-20 14:43:42 +0000
commit89ba91ad3754738af957e69b20eee5785e5cc2e2 (patch)
treeff89c14294678da33fe4711cb22beeaa913e358d /makefiles
parent8606d7508cca544dde0fbcb90807846044141be5 (diff)
Added config.h files for Cygnus and MingW32 development environments.
git-svn-id: file:///fltk/svn/fltk/trunk@23 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'makefiles')
-rw-r--r--makefiles/config.cygnus52
-rw-r--r--makefiles/config.mingw3252
2 files changed, 104 insertions, 0 deletions
diff --git a/makefiles/config.cygnus b/makefiles/config.cygnus
new file mode 100644
index 000000000..847ec742e
--- /dev/null
+++ b/makefiles/config.cygnus
@@ -0,0 +1,52 @@
+/* config.h
+ This is a replacement for the file ../config.h which is produced by
+ the GNU configure script on Unix systems. Most of these symbols
+ cannot be turned on as they will turn on X-specific code. Some
+ should work, however. */
+
+/* Thickness of FL_UP_BOX and FL_DOWN_BOX. Current 1,2, and 3 are
+ supported. 3 is the historic fltk look. 2 looks more like windoze
+ (and KDE and Qt). 1 is a plausible future evolution... Notice
+ that this may be simulated at runtime by redefining the boxtypes
+ using Fl::set_boxtype() */
+#define BORDER_WIDTH 2
+
+/* Do you have OpenGL?
+ Set this to 0 if you don't plan to use OpenGL, and fltk will be smaller */
+#define HAVE_GL 1
+/* Turn this on if your GL card has overlay hardware: */
+#define HAVE_GL_OVERLAY 1
+
+/* Turning this on causes fltk to use it's own palette on 8-bit displays.
+ Currently the result is similar to the X version with Fl::own_colormap,
+ in that it may produce colormap flashing if only one palette is
+ supported at a time (I could not test this because my driver supports
+ a very large number of palettes!).
+ Current bugs:
+ Fl::set_color() does not work after first window shown()
+ Probably causes colormap flashing.
+ Turning this off will save a chunk of code, and it will still "sort of"
+ work on an 8-bit display (you get dithering) */
+#define USE_COLORMAP 1
+
+/* X specific, leave off: */
+#define HAVE_XDBE 0
+#define USE_XDBE 0
+
+/* X specific, leave off: */
+#define HAVE_OVERLAY 0
+
+/* Byte order of your machine: (not used by win32 code) */
+#define WORDS_BIGENDIAN 0
+
+/* Types that are 32 bits and 16 bits long. Used by fl_draw_image only: */
+#define U16 unsigned short
+#define U32 unsigned
+/* #undef U64 */
+
+/* Where is <dirent.h> (used only by fl_file_chooser and scandir): */
+#define HAVE_DIRENT_H 1
+#define HAVE_SYS_NDIR_H 0
+#define HAVE_SYS_DIR_H 0
+#define HAVE_NDIR_H 0
+#define HAVE_SCANDIR 0
diff --git a/makefiles/config.mingw32 b/makefiles/config.mingw32
new file mode 100644
index 000000000..847ec742e
--- /dev/null
+++ b/makefiles/config.mingw32
@@ -0,0 +1,52 @@
+/* config.h
+ This is a replacement for the file ../config.h which is produced by
+ the GNU configure script on Unix systems. Most of these symbols
+ cannot be turned on as they will turn on X-specific code. Some
+ should work, however. */
+
+/* Thickness of FL_UP_BOX and FL_DOWN_BOX. Current 1,2, and 3 are
+ supported. 3 is the historic fltk look. 2 looks more like windoze
+ (and KDE and Qt). 1 is a plausible future evolution... Notice
+ that this may be simulated at runtime by redefining the boxtypes
+ using Fl::set_boxtype() */
+#define BORDER_WIDTH 2
+
+/* Do you have OpenGL?
+ Set this to 0 if you don't plan to use OpenGL, and fltk will be smaller */
+#define HAVE_GL 1
+/* Turn this on if your GL card has overlay hardware: */
+#define HAVE_GL_OVERLAY 1
+
+/* Turning this on causes fltk to use it's own palette on 8-bit displays.
+ Currently the result is similar to the X version with Fl::own_colormap,
+ in that it may produce colormap flashing if only one palette is
+ supported at a time (I could not test this because my driver supports
+ a very large number of palettes!).
+ Current bugs:
+ Fl::set_color() does not work after first window shown()
+ Probably causes colormap flashing.
+ Turning this off will save a chunk of code, and it will still "sort of"
+ work on an 8-bit display (you get dithering) */
+#define USE_COLORMAP 1
+
+/* X specific, leave off: */
+#define HAVE_XDBE 0
+#define USE_XDBE 0
+
+/* X specific, leave off: */
+#define HAVE_OVERLAY 0
+
+/* Byte order of your machine: (not used by win32 code) */
+#define WORDS_BIGENDIAN 0
+
+/* Types that are 32 bits and 16 bits long. Used by fl_draw_image only: */
+#define U16 unsigned short
+#define U32 unsigned
+/* #undef U64 */
+
+/* Where is <dirent.h> (used only by fl_file_chooser and scandir): */
+#define HAVE_DIRENT_H 1
+#define HAVE_SYS_NDIR_H 0
+#define HAVE_SYS_DIR_H 0
+#define HAVE_NDIR_H 0
+#define HAVE_SCANDIR 0