aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/GLw/GLwXm
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-02-02 15:02:49 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-02-02 15:02:49 +0100
commitb16b9e4656e7199c2aec74a4c8ebc7a875d3ba73 (patch)
tree4361edef0d42d5bf5ac984ef72b4fac35426eae7 /nx-X11/lib/GLw/GLwXm
parent0d5a83e986f39982c0924652a3662e60b1f23162 (diff)
downloadnx-libs-b16b9e4656e7199c2aec74a4c8ebc7a875d3ba73.tar.gz
nx-libs-b16b9e4656e7199c2aec74a4c8ebc7a875d3ba73.tar.bz2
nx-libs-b16b9e4656e7199c2aec74a4c8ebc7a875d3ba73.zip
massive reduction of unneeded files
Diffstat (limited to 'nx-X11/lib/GLw/GLwXm')
-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
4 files changed, 0 insertions, 421 deletions
diff --git a/nx-X11/lib/GLw/GLwXm/PrimitiveP.h b/nx-X11/lib/GLw/GLwXm/PrimitiveP.h
deleted file mode 100644
index d38d0d165..000000000
--- a/nx-X11/lib/GLw/GLwXm/PrimitiveP.h
+++ /dev/null
@@ -1,90 +0,0 @@
-/*
- * 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
deleted file mode 100644
index f344eec50..000000000
--- a/nx-X11/lib/GLw/GLwXm/Xm.h
+++ /dev/null
@@ -1,143 +0,0 @@
-/*
- * 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
deleted file mode 100644
index d54cbc37f..000000000
--- a/nx-X11/lib/GLw/GLwXm/XmP.h
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * 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
deleted file mode 100644
index 1e42c5ec4..000000000
--- a/nx-X11/lib/GLw/GLwXm/XmStrDefs.h
+++ /dev/null
@@ -1,121 +0,0 @@
-/*
- * 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 */