aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/GLw
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/GLw')
-rw-r--r--nx-X11/lib/GLw/GLwM1DrawA.c55
-rw-r--r--nx-X11/lib/GLw/GLwM2DrawA.c55
-rw-r--r--nx-X11/lib/GLw/GLwXm/PrimitiveP.h90
-rw-r--r--nx-X11/lib/GLw/GLwXm/Xm.h143
-rw-r--r--nx-X11/lib/GLw/GLwXm/XmP.h67
-rw-r--r--nx-X11/lib/GLw/GLwXm/XmStrDefs.h121
-rw-r--r--nx-X11/lib/GLw/Imakefile87
-rw-r--r--nx-X11/lib/GLw/README.html242
-rw-r--r--nx-X11/lib/GLw/README.txt199
9 files changed, 1059 insertions, 0 deletions
diff --git a/nx-X11/lib/GLw/GLwM1DrawA.c b/nx-X11/lib/GLw/GLwM1DrawA.c
new file mode 100644
index 000000000..4301c817f
--- /dev/null
+++ b/nx-X11/lib/GLw/GLwM1DrawA.c
@@ -0,0 +1,55 @@
+/*
+ * (c) Copyright 1993, Silicon Graphics, Inc.
+ * ALL RIGHTS RESERVED
+ * Permission to use, copy, modify, and distribute this software for
+ * any purpose and without fee is hereby granted, provided that the above
+ * copyright notice appear in all copies and that both the copyright notice
+ * and this permission notice appear in supporting documentation, and that
+ * the name of Silicon Graphics, Inc. not be used in advertising
+ * or publicity pertaining to distribution of the software without specific,
+ * written prior permission.
+ *
+ * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
+ * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
+ * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
+ * FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
+ * GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT,
+ * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY
+ * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION,
+ * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF
+ * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN
+ * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
+ * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
+ * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
+ *
+ *
+ * US Government Users Restricted Rights
+ * Use, duplication, or disclosure by the Government is subject to
+ * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph
+ * (c)(1)(ii) of the Rights in Technical Data and Computer Software
+ * clause at DFARS 252.227-7013 and/or in similar or successor
+ * clauses in the FAR or the DOD or NASA FAR Supplement.
+ * Unpublished-- rights reserved under the copyright laws of the
+ * United States. Contractor/manufacturer is Silicon Graphics,
+ * Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311.
+ *
+ * OpenGL(TM) is a trademark of Silicon Graphics, Inc.
+ */
+/* $XFree86$ */
+
+#define __GLX_MOTIF 1
+
+#define XmVERSION 1
+#define XmREVISION 2
+#define XmVersion (XmVERSION * 1000 + XmREVISION)
+#define XmVERSION_STRING "GLwDrawingArea fake M*tif 1.X"
+#define XmUPDATE_LEVEL 0
+
+/* Include our fake Motif headers */
+#include "GLwXm/Xm.h"
+#include "GLwXm/PrimitiveP.h"
+
+#define __GLX_INCLUDE_XM_H
+#define __GLX_INCLUDE_PRIMITIVE_P_H
+
+#include "GLwDrawA.c"
diff --git a/nx-X11/lib/GLw/GLwM2DrawA.c b/nx-X11/lib/GLw/GLwM2DrawA.c
new file mode 100644
index 000000000..bd93260f9
--- /dev/null
+++ b/nx-X11/lib/GLw/GLwM2DrawA.c
@@ -0,0 +1,55 @@
+/*
+ * (c) Copyright 1993, Silicon Graphics, Inc.
+ * ALL RIGHTS RESERVED
+ * Permission to use, copy, modify, and distribute this software for
+ * any purpose and without fee is hereby granted, provided that the above
+ * copyright notice appear in all copies and that both the copyright notice
+ * and this permission notice appear in supporting documentation, and that
+ * the name of Silicon Graphics, Inc. not be used in advertising
+ * or publicity pertaining to distribution of the software without specific,
+ * written prior permission.
+ *
+ * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
+ * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
+ * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
+ * FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
+ * GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT,
+ * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY
+ * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION,
+ * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF
+ * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN
+ * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
+ * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
+ * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
+ *
+ *
+ * US Government Users Restricted Rights
+ * Use, duplication, or disclosure by the Government is subject to
+ * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph
+ * (c)(1)(ii) of the Rights in Technical Data and Computer Software
+ * clause at DFARS 252.227-7013 and/or in similar or successor
+ * clauses in the FAR or the DOD or NASA FAR Supplement.
+ * Unpublished-- rights reserved under the copyright laws of the
+ * United States. Contractor/manufacturer is Silicon Graphics,
+ * Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311.
+ *
+ * OpenGL(TM) is a trademark of Silicon Graphics, Inc.
+ */
+/* $XFree86$ */
+
+#define __GLX_MOTIF 2
+
+#define XmVERSION 2
+#define XmREVISION 0
+#define XmVersion (XmVERSION * 1000 + XmREVISION)
+#define XmVERSION_STRING "GLwDrawingArea fake M*tif 2.X"
+#define XmUPDATE_LEVEL 0
+
+/* Include our fake Motif headers */
+#include "GLwXm/Xm.h"
+#include "GLwXm/PrimitiveP.h"
+
+#define __GLX_INCLUDE_XM_H
+#define __GLX_INCLUDE_PRIMITIVE_P_H
+
+#include "GLwDrawA.c"
diff --git a/nx-X11/lib/GLw/GLwXm/PrimitiveP.h b/nx-X11/lib/GLw/GLwXm/PrimitiveP.h
new file mode 100644
index 000000000..d38d0d165
--- /dev/null
+++ b/nx-X11/lib/GLw/GLwXm/PrimitiveP.h
@@ -0,0 +1,90 @@
+/*
+ * Copyright (c) 2000 by The XFree86 Project, Inc.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
+ * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ *
+ * Except as contained in this notice, the name of the XFree86 Project shall
+ * not be used in advertising or otherwise to promote the sale, use or other
+ * dealings in this Software without prior written authorization from the
+ * XFree86 Project.
+ */
+/* $XFree86$ */
+
+/*
+ * This file is a fake Motif(TM) header intended to allow the compilation of
+ * libGLw without having a real Motif. Do not use this file to compile any
+ * application because it declares only a small subset of the API!
+ */
+
+#ifndef GLWXM_PRIMITIVE_P_H
+#define GLWXM_PRIMITIVE_P_H
+
+#include "GLwXm/XmP.h"
+
+/* primitive instance part */
+typedef struct {
+ Pixel foreground;
+ Dimension shadow_thickness;
+ Pixel top_shadow_color;
+ Pixmap top_shadow_pixmap;
+ Pixel bottom_shadow_color;
+ Pixmap bottom_shadow_pixmap;
+ Dimension highlight_thickness;
+ Pixel highlight_color;
+ Pixmap highlight_pixmap;
+ XtCallbackList help_callback;
+ XtPointer user_data;
+ Boolean traversal_on;
+ Boolean highlight_on_enter;
+ Boolean have_traversal;
+ unsigned char unit_type;
+ XmNavigationType navigation_type;
+ Boolean highlight_drawn;
+ Boolean highlighted;
+ GC highlight_GC;
+ GC top_shadow_GC;
+ GC bottom_shadow_GC;
+#if XmVERSION > 1
+ XtCallbackList convert_callback;
+ XtCallbackList popup_handler_callback;
+ XmDirection layout_direction;
+#endif
+} XmPrimitivePart;
+
+/* primitive class part */
+typedef struct {
+ XtWidgetProc border_highlight;
+ XtWidgetProc border_unhighlight;
+ String translations;
+ XtActionProc arm_and_activate;
+ XmSyntheticResource *syn_resources;
+ int num_syn_resources;
+ XtPointer extension;
+} XmPrimitiveClassPart;
+
+/* class record */
+typedef struct _XmPrimitiveClassRec {
+ CoreClassPart core_class;
+ XmPrimitiveClassPart primitive_class;
+} XmPrimitiveClassRec;
+
+/* declare class record */
+extern XmPrimitiveClassRec xmPrimitiveClassRec;
+
+#endif /* GLWXM_PRIMITIVE_P_H */
diff --git a/nx-X11/lib/GLw/GLwXm/Xm.h b/nx-X11/lib/GLw/GLwXm/Xm.h
new file mode 100644
index 000000000..f344eec50
--- /dev/null
+++ b/nx-X11/lib/GLw/GLwXm/Xm.h
@@ -0,0 +1,143 @@
+/*
+ * Copyright (c) 2000 by The XFree86 Project, Inc.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
+ * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ *
+ * Except as contained in this notice, the name of the XFree86 Project shall
+ * not be used in advertising or otherwise to promote the sale, use or other
+ * dealings in this Software without prior written authorization from the
+ * XFree86 Project.
+ */
+/* $XFree86$ */
+
+/*
+ * This file is a fake Motif(TM) header intended to allow the compilation of
+ * libGLw without having a real Motif. Do not use this file to compile any
+ * application because it declares only a small subset of the API!
+ */
+
+#ifndef GLWXM_H
+#define GLWXM_H
+
+#include <X11/Intrinsic.h>
+#include <X11/Shell.h>
+#include <X11/Xatom.h>
+#include "GLwXm/XmStrDefs.h"
+
+enum {
+ XmATTACH_NONE,
+ XmATTACH_FORM,
+ XmATTACH_OPPOSITE_FORM,
+ XmATTACH_WIDGET,
+ XmATTACH_OPPOSITE_WIDGET,
+ XmATTACH_POSITION,
+ XmATTACH_SELF
+};
+
+enum {
+ XmCR_NONE,
+ XmCR_HELP,
+ XmCR_VALUE_CHANGED,
+ XmCR_INCREMENT,
+ XmCR_DECREMENT,
+ XmCR_PAGE_INCREMENT,
+ XmCR_PAGE_DECREMENT,
+ XmCR_TO_TOP,
+ XmCR_TO_BOTTOM,
+ XmCR_DRAG,
+ XmCR_ACTIVATE,
+ XmCR_ARM,
+ XmCR_DISARM,
+ XmCR_DUMMY13,
+ XmCR_DUMMY14,
+ XmCR_DUMMY15,
+ XmCR_MAP,
+ XmCR_UNMAP,
+ XmCR_FOCUS,
+ XmCR_LOSING_FOCUS,
+ XmCR_MODIFYING_TEXT_VALUE,
+ XmCR_MOVING_INSERT_CURSOR,
+ XmCR_EXECUTE,
+ XmCR_SINGLE_SELECT,
+ XmCR_MULTIPLE_SELECT,
+ XmCR_EXTENDED_SELECT,
+ XmCR_BROWSE_SELECT,
+ XmCR_DEFAULT_ACTION,
+ XmCR_CLIPBOARD_DATA_REQUEST,
+ XmCR_CLIPBOARD_DATA_DELETE,
+ XmCR_CASCADING,
+ XmCR_OK,
+ XmCR_CANCEL,
+ XmCR_DUMMY33,
+ XmCR_APPLY,
+ XmCR_NO_MATCH,
+ XmCR_COMMAND_ENTERED,
+ XmCR_COMMAND_CHANGED,
+ XmCR_EXPOSE,
+ XmCR_RESIZE,
+ XmCR_INPUT,
+ XmCR_GAIN_PRIMARY,
+ XmCR_LOSE_PRIMARY,
+ XmCR_CREATE,
+ XmCR_TEAR_OFF_ACTIVATE,
+ XmCR_TEAR_OFF_DEACTIVATE,
+ XmCR_OBSCURED_TRAVERSAL,
+#if XmVERSION < 2
+ XmCR_PROTOCOLS
+#else
+ XmCR_FOCUS_MOVED,
+ XmCR_DUMMY48,
+ XmCR_DUMMY49,
+ XmCR_DUMMY50,
+ XmCR_DUMMY51,
+ XmCR_DUMMY52,
+ XmCR_DUMMY53,
+ XmCR_REPOST,
+ XmCR_COLLAPSED,
+ XmCR_EXPANDED,
+ XmCR_SELECT,
+ XmCR_DRAG_START,
+ XmCR_NO_FONT,
+ XmCR_NO_RENDITION,
+ XmCR_POST,
+ XmCR_SPIN_NEXT,
+ XmCR_SPIN_PRIOR,
+ XmCR_SPIN_FIRST,
+ XmCR_SPIN_LAST,
+ XmCR_PAGE_SCROLLER_INCREMENT,
+ XmCR_PAGE_SCROLLER_DECREMENT,
+ XmCR_MAJOR_TAB,
+ XmCR_MINOR_TAB,
+ XmCR_PROTOCOLS = 6666
+#endif
+};
+
+typedef unsigned char XmDirection;
+
+typedef struct {
+ int reason;
+ XEvent *event;
+ Window window;
+} XmDrawingAreaCallbackStruct;
+
+#define XmUNSPECIFIED_PIXMAP 2
+
+typedef unsigned char XmNavigationType;
+
+#endif /* GLWXM_H */
diff --git a/nx-X11/lib/GLw/GLwXm/XmP.h b/nx-X11/lib/GLw/GLwXm/XmP.h
new file mode 100644
index 000000000..d54cbc37f
--- /dev/null
+++ b/nx-X11/lib/GLw/GLwXm/XmP.h
@@ -0,0 +1,67 @@
+/*
+ * Copyright (c) 2000 by The XFree86 Project, Inc.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
+ * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ *
+ * Except as contained in this notice, the name of the XFree86 Project shall
+ * not be used in advertising or otherwise to promote the sale, use or other
+ * dealings in this Software without prior written authorization from the
+ * XFree86 Project.
+ */
+/* $XFree86$ */
+
+/*
+ * This file is a fake Motif(TM) header intended to allow the compilation of
+ * libGLw without having a real Motif. Do not use this file to compile any
+ * application because it declares only a small subset of the API!
+ */
+
+#ifndef GLWXM_P_H
+#define GLWXM_P_H
+
+#include "GLwXm/Xm.h"
+#include <X11/IntrinsicP.h>
+
+#define XmInheritBorderHighlight ((XtWidgetProc) _XtInherit)
+#define XmInheritBorderUnhighlight ((XtWidgetProc) _XtInherit)
+
+void _XmBackgroundColorDefault(Widget widget, int offset, XrmValue *value);
+void _XmForegroundColorDefault(Widget widget, int offset, XrmValue *value);
+void _XmHighlightColorDefault(Widget widget, int offset, XrmValue *value);
+void _XmPrimitiveHighlightPixmapDefault(Widget widget, int offset,
+ XrmValue *value);
+
+typedef enum {
+ XmSYNTHETIC_NONE,
+ XmSYNTHETIC_LOAD
+} XmImportOperator;
+
+typedef void (*XmExportProc)(Widget, int, XtArgVal *);
+
+typedef XmImportOperator (*XmImportProc)(Widget, int, XtArgVal*);
+
+typedef struct _XmSyntheticResource {
+ String resource_name;
+ Cardinal resource_size;
+ Cardinal resource_offset;
+ XmExportProc export_proc;
+ XmImportProc import_proc;
+} XmSyntheticResource;
+
+#endif /* GLWXM_P_H */
diff --git a/nx-X11/lib/GLw/GLwXm/XmStrDefs.h b/nx-X11/lib/GLw/GLwXm/XmStrDefs.h
new file mode 100644
index 000000000..1e42c5ec4
--- /dev/null
+++ b/nx-X11/lib/GLw/GLwXm/XmStrDefs.h
@@ -0,0 +1,121 @@
+/*
+ * Copyright (c) 2000 by The XFree86 Project, Inc.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
+ * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ *
+ * Except as contained in this notice, the name of the XFree86 Project shall
+ * not be used in advertising or otherwise to promote the sale, use or other
+ * dealings in this Software without prior written authorization from the
+ * XFree86 Project.
+ */
+/* $XFree86$ */
+
+/*
+ * This file is a fake Motif(TM) header intended to allow the compilation of
+ * libGLw without having a real Motif. Do not use this file to compile any
+ * application because it declares only a small subset of the API!
+ */
+
+#ifndef GLWXM_STRDEFS_H
+#define GLWXM_STRDEFS_H
+
+#ifndef _XmConst
+#define _XmConst /**/
+#endif
+
+#ifdef XMSTRINGDEFINES
+
+#define XmCBackgroundPixmap "BackgroundPixmap"
+#define XmRBackgroundPixmap "BackgroundPixmap"
+#define XmRBooleanDimension "BooleanDimension"
+#define XmNbottomAttachment "bottomAttachment"
+#define XmNbottomWidget "bottomWidget"
+#define XmCForegroundThreshold "ForegroundThreshold"
+#define XmNforegroundThreshold "foregroundThreshold"
+#define XmCHighlightColor "HighlightColor"
+#define XmNhighlightColor "highlightColor"
+#define XmCHighlightOnEnter "HighlightOnEnter"
+#define XmNhighlightOnEnter "highlightOnEnter"
+#define XmCHighlightThickness "HighlightThickness"
+#define XmNhighlightThickness "highlightThickness"
+#define XmCHighlightPixmap "HighlightPixmap"
+#define XmNhighlightPixmap "highlightPixmap"
+#define XmRHighlightPixmap "HighlightPixmap"
+#define XmRHorizontalDimension "HorizontalDimension"
+#define XmNleftAttachment "leftAttachment"
+#define XmNrightAttachment "rightAttachment"
+#define XmRStringDirection "StringDirection"
+#define XmNtopAttachment "topAttachment"
+#define XmCTraversalOn "TraversalOn"
+#define XmNtraversalOn "traversalOn"
+#define XmRXmBackgroundPixmap "XmBackgroundPixmap"
+
+#else /* XMSTRINGDEFINES */
+
+extern _XmConst char _XmStrings[];
+
+#define XmCBackgroundPixmap ((char *)&_XmStrings[299])
+#define XmRBackgroundPixmap ((char *)&_XmStrings[10844])
+#define XmRBooleanDimension ((char *)&_XmStrings[10872])
+#define XmNbottomAttachment ((char *)&_XmStrings[5017])
+#define XmNbottomWidget ((char *)&_XmStrings[5099])
+#define XmCHighlightColor ((char *)&_XmStrings[1844])
+#define XmNhighlightColor ((char *)&_XmStrings[6996])
+#define XmCHighlightOnEnter ((char *)&_XmStrings[1859])
+#define XmNhighlightOnEnter ((char *)&_XmStrings[7011])
+#define XmCHighlightThickness ((char *)&_XmStrings[1892])
+#define XmNhighlightThickness ((char *)&_XmStrings[7044])
+#define XmCForegroundThreshold ((char *)&_XmStrings[1808])
+#define XmNforegroundThreshold ((char *)&_XmStrings[6914])
+#define XmCHighlightPixmap ((char *)&_XmStrings[1876])
+#define XmNhighlightPixmap ((char *)&_XmStrings[7028])
+#define XmRHighlightPixmap ((char *)&_XmStrings[11299])
+#define XmRHorizontalDimension ((char *)&_XmStrings[11315])
+#define XmNleftAttachment ((char *)&_XmStrings[7523])
+#define XmNrightAttachment ((char *)&_XmStrings[9077])
+#define XmRStringDirection ((char *)&_XmStrings[11981])
+#define XmNtopAttachment ((char *)&_XmStrings[10165])
+#define XmCTraversalOn ((char *)&_XmStrings[4318])
+#define XmNtraversalOn ((char *)&_XmStrings[10361])
+#define XmRXmBackgroundPixmap ((char *)&_XmStrings[12210])
+
+#endif /* XMSTRINGDEFINES */
+
+/* copy Xt constant definitions */
+#include <X11/StringDefs.h>
+
+#define XmCBackground XtCBackground
+#define XmNbackground XtNbackground
+#define XmNbackgroundPixmap XtNbackgroundPixmap
+#define XmCBoolean XtCBoolean
+#define XmRBoolean XtRBoolean
+#define XmRCallProc XtRCallProc
+#define XmCForeground XtCForeground
+#define XmNforeground XtNforeground
+#define XmRImmediate XtRImmediate
+#define XmRPixel XtRPixel
+#define XmCPixmap XtCPixmap
+#define XmNpixmap XtNpixmap
+#define XmRPixmap XtRPixmap
+#define XmRPrimHighlightPixmap XmRHighlightPixmap
+#define XmRString XtRString
+#define XmRStringArray XtRStringArray
+#define XmRStringTable XtRStringTable
+
+#endif /* GLWXM_STRDEFS_H */
diff --git a/nx-X11/lib/GLw/Imakefile b/nx-X11/lib/GLw/Imakefile
new file mode 100644
index 000000000..3eb0503fe
--- /dev/null
+++ b/nx-X11/lib/GLw/Imakefile
@@ -0,0 +1,87 @@
+XCOMM $XdotOrg: xc/lib/GLw/Imakefile,v 1.2 2005/08/24 16:27:26 alanc Exp $
+/*
+ * Copyright (c) 2000 by The XFree86 Project, Inc.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
+ * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ *
+ * Except as contained in this notice, the name of the XFree86 Project shall
+ * not be used in advertising or otherwise to promote the sale, use or other
+ * dealings in this Software without prior written authorization from the
+ * XFree86 Project.
+ */
+
+XCOMM $XFree86: xc/lib/GLw/Imakefile,v 1.3 2002/04/06 18:24:46 tsi Exp $
+
+XCOMM
+XCOMM Imakefile for GLw library - lots of modifications for XFree86 by
+XCOMM Carlos A. M. dos Santos <casantos@cpmet.ufpel.tche.br>
+XCOMM
+
+XCOMM Uncomment this and set the correct values if your Motif installation
+XCOMM is out of the standard X tree and your Imake configuration is not
+XCOMM correct (unfortunatelly, a common mistake).
+
+XCOMM MOTIF_INCLUDES = -I/usr/local/include
+XCOMM MOTIF_LDFLAGS = -L/usr/local/lib
+
+#define DoNormalLib NormalLibGLw
+#define DoSharedLib SharedLibGLw
+#define DoDebugLib DebugLibGLw
+#define DoProfileLib ProfileLibGLw
+
+#define HasSharedData NO
+#define LibName GLw
+#define SoRev SOGLWREV
+#define IncSubdir GL
+
+#ifdef SharedGLwReqs
+REQUIREDLIBS = SharedGLwReqs
+#else
+REQUIREDLIBS = $(LDPRELIBS) $(XTOOLLIB) $(XLIB)
+#endif
+
+DEFINES =
+
+#if GLwUseXmStubs
+SHAREDCODEDEF = SharedCodeDef -DUSE_XM_STUBS
+#endif
+
+GLWSRCDIR = $(OGLSAMPLESRCDIR)/main/gfx/lib/glw
+
+INCLUDES = $(MOTIF_INCLUDES) -I.
+
+LOCAL_LDFLAGS = $(MOTIF_LDFLAGS)
+
+LINTLIBS = $(LINTXLIB) $(LINTXTOOL)
+
+HEADERS = GLwDrawA.h GLwDrawAP.h GLwMDrawA.h GLwMDrawAP.h
+SRCS = GLwDrawA.c GLwM1DrawA.c GLwM2DrawA.c GLwDAUtil.c
+OBJS = GLwDrawA.o GLwM1DrawA.o GLwM2DrawA.o GLwDAUtil.o
+
+#include <Library.tmpl>
+
+LinkSourceFile(GLwDAUtil.c,$(GLWSRCDIR))
+LinkSourceFile(GLwDrawA.c,$(GLWSRCDIR))
+LinkSourceFile(GLwMDrawA.c,$(GLWSRCDIR))
+LinkSourceFile(GLwDrawA.h,$(GLWSRCDIR))
+LinkSourceFile(GLwDrawAP.h,$(GLWSRCDIR))
+LinkSourceFile(GLwMDrawA.h,$(GLWSRCDIR))
+LinkSourceFile(GLwMDrawAP.h,$(GLWSRCDIR))
+
+DependTarget()
diff --git a/nx-X11/lib/GLw/README.html b/nx-X11/lib/GLw/README.html
new file mode 100644
index 000000000..973ba9cf0
--- /dev/null
+++ b/nx-X11/lib/GLw/README.html
@@ -0,0 +1,242 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<HTML>
+<HEAD>
+<TITLE>GL widgets for Xt/Motif - XFree86 implementation</TITLE>
+<META NAME="generator" CONTENT="Only VIM and me.">
+</HEAD>
+<BODY BGCOLOR="#FFFFFF">
+
+<!-- $XFree86$ -->
+
+<H1 ALIGN=CENTER>GL widgets for Xt/Motif</H1>
+<H2 ALIGN=CENTER>XFree86 implementation</H1>
+<P ALIGN=CENTER>by Carlos A. M. dos Santos<BR>casantos@cpmet.ufpel.tche.br</P>
+
+<HR NOSHADE>
+
+<H3>1. Introduction</H3>
+<P>
+This directory contains the source code for SGI's OpenGL Xt/Motif(TM) widgets,
+slightly modified to generate both Motif 1.x and 2.x versions of
+the widget even if Motif is not available, as in the XFree86 distribution of
+the X Window System. This code is based on that distributed by Silicon
+Graphics as part of it's OpenGL Sample Implementation, not on the modified version
+distributed with Mesa.
+
+
+<H3>2. Installation</H3>
+<P>
+This code is intended to be compiled as part of the normal XFree86 building
+process, under the xc/lib/GLw directory. To compile the library out of the X
+source tree, follow instructions below.
+
+<H3>2.1. Requirements</H3>
+<P>
+Gzip and tar are needed to extract the files from the distribution <A
+HREF="http://www.inf.ufrgs.br/~casantos/libGLw/GLw.tar.gz">archive</A>. Tar is
+a standard UNIX utility but if you don't have it use GNU tar, available in
+source form at <A
+HREF="ftp://ftp.gnu.org/pub/gnu/">ftp://ftp.gnu.org/pub/gnu/</A>. Gzip is not
+a standard UNIX utility, though available in many systems. You may obtain it
+(also source form) at the same FTP server as GNU tar.
+
+<P>
+You need xmkmf and imake too. Depending on your operating system you may need
+to install some kind of X Window System development kit, so check the vendor
+documentation first. I was told that some UNIX systems don't have imake:
+report this as a bug (to your vendor, not me).
+
+<P>
+Of course you will need a C compiler.
+
+<H3>2.2. Steps</H3>
+<P>
+<OL>
+ <LI>Extract the source code from the distribution archive.
+ <P>
+ <CODE>
+ gzip -dc GLw.tar.gz | tar xf -
+ </CODE>
+ <P>
+ <LI>Go to the surce code directory and generate the makefile.
+ <P>
+ <CODE>
+ cd GLw<BR>
+ xmkmf
+ </CODE>
+ <P>For LessTif, use "mxmkmf" instead of "xmkmf". Imake support
+ is much better in recent versions of LessTif (since late july 2000).
+ If your Motif or OpenGL libraries and/or include files are installed in
+ non-standard locations (some UNIX vendors seem to be very creative :-)
+ then edit the file named Imakefile, remove the leading XCOMM of the
+ lines containing MOTIF_INCLUDES and MOTIF_LDFLAGS and set the
+ appropriate values.
+ <P>
+ <LI>Compile the code with
+ <P>
+ <CODE>
+ make includes<BR>
+ make standalone
+ </CODE>
+ <P>
+ <LI>Install the library and manual pages with
+ <P>
+ <CODE>
+ make install<BR>
+ make install.man
+ </CODE>
+ <P>
+ <LI>Optionally, you may compile two test programs: xmdemo and xtdemo. You need OpenGL
+ (or Mesa) for both and Motif (or LessTif) for xmdemo. There are four
+ extra make targers for these programs: demos, stand-demos, stand-xmdemo
+ and stand-xtdemo. You may use them with:
+ <P>
+ <CODE>
+ make stand-demos<BR>
+ ./xmdemo
+ ./xtdemo
+ </CODE>
+</OL>
+
+<H3>2.3. Creating a shared library</H3>
+<P>
+By default only a static library is created because most of the UNIX loaders,
+if not all, complain about unresolved symbols even if the application doesn't
+use the modules in which such symbols are referenced. However, if your system
+supports libraries with weak symbols (e.g. Solaris, FreeBSD and Linux) it is
+possible to fool the loader. All you have to do is edit the Imakefile,
+changing "#define SharedLibGLw" and "#define GLwUseXmStubs" to YES, then
+repeat the compilation process starting from step 2 in the previous section.
+
+<H3>2.4. Problems</H3>
+<P>
+If you have trouble, ask for help in the XFree86 "xperts" mailing list. Look
+at <A HREF="http://www.xfree86.org">http://www.xfree86.org</A> for
+instructions on how to subscribe. In desperation, send an email to <A
+HREF="mailto:casantos@cpmet.ufpel.tche.br">casantos@cpmet.ufpel.tche.br</A>.
+
+<P>
+PLEASE DO NOT SEND ME EMAIL ASKING HOW TO INSTALL OR CONFIGURE YOUR OPERATING
+SYSTEM, MODEM, NETWORK CARD, BREAD TOASTER, COFEE MAKER OR WHATEVER ELSE!
+
+
+<H3>3. Copyrights</H3>
+<P>
+Most of the code is covered by the following license terms:
+<BLOCKQUOTE>
+<P>
+License Applicability. Except to the extent portions of this file are
+made subject to an alternative license as permitted in the SGI Free
+Software License B, Version 1.1 (the "License"), the contents of this
+file are subject only to the provisions of the License. You may not use
+this file except in compliance with the License. You may obtain a copy
+of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
+Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
+<P>
+<A
+HREF="http://oss.sgi.com/projects/FreeB">http://oss.sgi.com/projects/FreeB</A>
+<P>
+Note that, as provided in the License, the Software is distributed on an
+"AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
+DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
+CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
+PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
+<P>
+Original Code. The Original Code is: OpenGL Sample Implementation,
+Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
+Inc. The Original Code is Copyright &copy; 1991-2000 Silicon Graphics, Inc.
+Copyright in any portions created by third parties is as indicated
+elsewhere herein. All Rights Reserved.
+<P>
+Additional Notice Provisions: The application programming interfaces
+established by SGI in conjunction with the Original Code are The
+OpenGL&reg; Graphics System: A Specification (Version 1.2.1), released
+April 1, 1999; The OpenGL&reg; Graphics System Utility Library (Version
+1.3), released November 4, 1998; and OpenGL&reg; Graphics with the X
+Window System&reg; (Version 1.3), released October 19, 1998. This software
+was created using the OpenGL&reg; version 1.2.1 Sample Implementation
+published by SGI, but has not been independently verified as being
+compliant with the OpenGL&reg; version 1.2.1 Specification.
+</BLOCKQUOTE>
+
+<P>
+The demonstration programs are covered by the following license terms:
+
+<BLOCKQUOTE>
+<P>
+Copyright &copy; Mark J. Kilgard, 1995, 1996.
+
+<P>
+NOTICE: This source code distribution contains source code contained in
+the book "Programming OpenGL for the X Window System" (ISBN:
+0-201-48359-9) published by Addison-Wesley. The programs and associated
+files contained in the distribution were developed by Mark J. Kilgard and
+are Copyright 1994, 1995, 1996 by Mark J. Kilgard (unless otherwise
+noted). The programs are not in the public domain, but they are freely
+distributable without licensing fees. These programs are provided without
+guarantee or warrantee expressed or implied.
+</BLOCKQUOTE>
+
+<P>
+The files contained in directory GLwXm are fake Motif headers, covered by
+the XFree86 license, they permit us to generate both Motif 1.x and 2.x
+versions of the widget without having Motif. Notice that they are NOT part of
+a standard Motif distribution and shall not be used to compile any other code.
+
+
+<H3>4. Thanks</H3>
+
+<P>
+Many thanks to Silicon Graphics and Mark J. Kilgard for making their
+software free.
+
+
+<H3>5. No thanks</H3>
+
+<BLOCKQUOTE>
+<P>
+<STRONG>
+THIS SECTION CONTAINS MY PERSONAL OPINIONS AND
+DOESN'T REPRESENT AN OFFICIAL POSITION OF THE XFree86 PROJECT.
+</STRONG>
+</BLOCKQUOTE>
+
+<P>
+The first incarnation of this version of libGLw used eight header files from
+<A HREF="http://www.lesstif.org/">LessTif</A>, four for each Motif version.
+LessTif is covered by the GNU Library General Public License (LGPL) whose
+terms are not compatible with the XFree86 licensing policy. Since the
+copyright holder of LessTif is the <A HREF="http://www.fsf.org/">Free Software
+Foundation</A> (FSF), I asked Richard Stallman, president of FSF and so called
+"leader of the Free Software movement", permission to redistribute a copy of
+those eight headers under XFree86 terms, still maintaining the FSF copyright.
+
+<P>
+Observe that I was not asking him to change the license of LessTif as a whole,
+but only to allow me to distribute copies of some header files containing
+function prototypes, variable declarations and data type definitions. Even so,
+Stallman said no because the files contained "more than 6000 lines of code".
+Which code? The LessTif headers are mostly copies of the Motif ones and don't
+contain any original GNU "code"! I can't still imagine a reason for Stallman's
+negative answer except for paranoia. He seems to ignore what Motif is and
+that LessTif's API is simply a copy of Motif's one.
+
+<P>
+After spending some time, I made my own headers, that became much smaller than
+the previous ones because I included only a subset of the Motif API and merged
+everything into four files: 417 lines instead 6000. Humm, perhaps I should be
+grateful to Sallman too :-).
+
+
+<H3>6. Trademarks</H3>
+
+<P>
+<UL>
+ <LI>OpenGL is a trademark of Silicon Graphics, Inc.
+ <LI>Motif is a trademark of the Open Group.
+</UL>
+
+<HR NOSHADE>
+
+</BODY>
+</HTML>
diff --git a/nx-X11/lib/GLw/README.txt b/nx-X11/lib/GLw/README.txt
new file mode 100644
index 000000000..4892f1e78
--- /dev/null
+++ b/nx-X11/lib/GLw/README.txt
@@ -0,0 +1,199 @@
+ GL widgets for Xt/Motif
+
+ XFree86 implementation
+
+ by Carlos A. M. dos Santos
+ casantos@cpmet.ufpel.tche.br
+
+ ------------------------------------------------------------------------
+
+1. Introduction
+
+This directory contains the source code for SGI's OpenGL Xt/Motif(TM)
+widgets, slightly modified to generate both Motif 1.x and 2.x versions of
+the widget even if Motif is not available, as in the XFree86 distribution of
+the X Window System. This code is based on that distributed by Silicon
+Graphics as part of it's OpenGL Sample Implementation, not on the modified
+version distributed with Mesa.
+
+2. Installation
+
+This code is intended to be compiled as part of the normal XFree86 building
+process, under the xc/lib/GLw directory. To compile the library out of the X
+source tree, follow instructions below.
+
+2.1. Requirements
+
+Gzip and tar are needed to extract the files from the distribution archive.
+Tar is a standard UNIX utility but if you don't have it use GNU tar,
+available in source form at ftp://ftp.gnu.org/pub/gnu/. Gzip is not a
+standard UNIX utility, though available in many systems. You may obtain it
+(also source form) at the same FTP server as GNU tar.
+
+You need xmkmf and imake too. Depending on your operating system you may
+need to install some kind of X Window System development kit, so check the
+vendor documentation first. I was told that some UNIX systems don't have
+imake: report this as a bug (to your vendor, not me).
+
+Of course you will need a C compiler.
+
+2.2. Steps
+
+ 1. Extract the source code from the distribution archive.
+
+ gzip -dc GLw.tar.gz | tar xf -
+
+ 2. Go to the surce code directory and generate the makefile.
+
+ cd GLw
+ xmkmf
+
+ For LessTif, use "mxmkmf" instead of "xmkmf". Imake support is much
+ better in recent versions of LessTif (since late july 2000). If your
+ Motif or OpenGL libraries and/or include files are installed in
+ non-standard locations (some UNIX vendors seem to be very creative :-)
+ then edit the file named Imakefile, remove the leading XCOMM of the
+ lines containing MOTIF_INCLUDES and MOTIF_LDFLAGS and set the
+ appropriate values.
+
+ 3. Compile the code with
+
+ make includes
+ make standalone
+
+ 4. Install the library and manual pages with
+
+ make install
+ make install.man
+
+ 5. Optionally, you may compile two test programs: xmdemo and xtdemo. You
+ need OpenGL (or Mesa) for both and Motif (or LessTif) for xmdemo. There
+ are four extra make targers for these programs: demos, stand-demos,
+ stand-xmdemo and stand-xtdemo. You may use them with:
+
+ make stand-demos
+ ./xmdemo ./xtdemo
+
+2.3. Creating a shared library
+
+By default only a static library is created because most of the UNIX
+loaders, if not all, complain about unresolved symbols even if the
+application doesn't use the modules in which such symbols are referenced.
+However, if your system supports libraries with weak symbols (e.g. Solaris,
+FreeBSD and Linux) it is possible to fool the loader. All you have to do is
+edit the Imakefile, changing "#define SharedLibGLw" and "#define
+GLwUseXmStubs" to YES, then repeat the compilation process starting from
+step 2 in the previous section.
+
+2.4. Problems
+
+If you have trouble, ask for help in the XFree86 "xperts" mailing list. Look
+at http://www.xfree86.org for instructions on how to subscribe. In
+desperation, send an email to casantos@cpmet.ufpel.tche.br.
+
+PLEASE DO NOT SEND ME EMAIL ASKING HOW TO INSTALL OR CONFIGURE YOUR
+OPERATING SYSTEM, MODEM, NETWORK CARD, BREAD TOASTER, COFEE MAKER OR
+WHATEVER ELSE!
+
+3. Copyrights
+
+Most of the code is covered by the following license terms:
+
+ License Applicability. Except to the extent portions of this file
+ are made subject to an alternative license as permitted in the SGI
+ Free Software License B, Version 1.1 (the "License"), the contents
+ of this file are subject only to the provisions of the License.
+ You may not use this file except in compliance with the License.
+ You may obtain a copy of the License at Silicon Graphics, Inc.,
+ attn: Legal Services, 1600 Amphitheatre Parkway, Mountain View, CA
+ 94043-1351, or at:
+
+ http://oss.sgi.com/projects/FreeB
+
+ Note that, as provided in the License, the Software is distributed
+ on an "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND
+ CONDITIONS DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED
+ WARRANTIES AND CONDITIONS OF MERCHANTABILITY, SATISFACTORY
+ QUALITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
+
+ Original Code. The Original Code is: OpenGL Sample Implementation,
+ Version 1.2.1, released January 26, 2000, developed by Silicon
+ Graphics, Inc. The Original Code is Copyright © 1991-2000 Silicon
+ Graphics, Inc. Copyright in any portions created by third parties
+ is as indicated elsewhere herein. All Rights Reserved.
+
+ Additional Notice Provisions: The application programming
+ interfaces established by SGI in conjunction with the Original
+ Code are The OpenGL® Graphics System: A Specification (Version
+ 1.2.1), released April 1, 1999; The OpenGL® Graphics System
+ Utility Library (Version 1.3), released November 4, 1998; and
+ OpenGL® Graphics with the X Window System® (Version 1.3), released
+ October 19, 1998. This software was created using the OpenGL®
+ version 1.2.1 Sample Implementation published by SGI, but has not
+ been independently verified as being compliant with the OpenGL®
+ version 1.2.1 Specification.
+
+The demonstration programs are covered by the following license terms:
+
+ Copyright © Mark J. Kilgard, 1995, 1996.
+
+ NOTICE: This source code distribution contains source code
+ contained in the book "Programming OpenGL for the X Window System"
+ (ISBN: 0-201-48359-9) published by Addison-Wesley. The programs
+ and associated files contained in the distribution were developed
+ by Mark J. Kilgard and are Copyright 1994, 1995, 1996 by Mark J.
+ Kilgard (unless otherwise noted). The programs are not in the
+ public domain, but they are freely distributable without licensing
+ fees. These programs are provided without guarantee or warrantee
+ expressed or implied.
+
+The files contained in directory GLwXm are fake Motif headers, covered by
+the XFree86 license, they permit us to generate both Motif 1.x and 2.x
+versions of the widget without having Motif. Notice that they are NOT part
+of a standard Motif distribution and shall not be used to compile any other
+code.
+
+4. Thanks
+
+Many thanks to Silicon Graphics and Mark J. Kilgard for making their
+software free.
+
+5. No thanks
+
+ THIS SECTION CONTAINS MY PERSONAL OPINIONS AND DOESN'T REPRESENT
+ AN OFFICIAL POSITION OF THE XFree86 PROJECT.
+
+The first incarnation of this version of libGLw used eight header files from
+LessTif, four for each Motif version. LessTif is covered by the GNU Library
+General Public License (LGPL) whose terms are not compatible with the
+XFree86 licensing policy. Since the copyright holder of LessTif is the Free
+Software Foundation (FSF), I asked Richard Stallman, president of FSF and so
+called "leader of the Free Software movement", permission to redistribute a
+copy of those eight headers under XFree86 terms, still maintaining the FSF
+copyright.
+
+Observe that I was not asking him to change the license of LessTif as a
+whole, but only to allow me to distribute copies of some header files
+containing function prototypes, variable declarations and data type
+definitions. Even so, Stallman said no because the files contained "more
+than 6000 lines of code". Which code? The LessTif headers are mostly copies
+of the Motif ones and don't contain any original GNU "code"! I can't still
+imagine a reason for Stallman's negative answer except for paranoia. He
+seems to ignore what Motif is and that LessTif's API is simply a copy of
+Motif's one.
+
+After spending some time, I made my own headers, that became much smaller
+than the previous ones because I included only a subset of the Motif API and
+merged everything into four files: 417 lines instead 6000. Humm, perhaps I
+should be grateful to Sallman too :-).
+
+6. Trademarks
+
+ * OpenGL is a trademark of Silicon Graphics, Inc.
+ * Motif is a trademark of the Open Group.
+
+ ------------------------------------------------------------------------
+
+
+
+$XFree86$