File indexing completed on 2025-01-18 10:15:24
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023 #ifndef _XmDragOverSP_h
0024 #define _XmDragOverSP_h
0025
0026 #include <X11/IntrinsicP.h>
0027
0028 #include <X11/Shell.h>
0029 #include <X11/ShellP.h>
0030 #include <Xm/XmP.h>
0031 #include <Xm/DragIconP.h>
0032 #include <Xm/DragOverS.h>
0033
0034 #ifdef __cplusplus
0035 extern "C" {
0036 #endif
0037
0038 #define DOExpose(do) \
0039 ((XtClass(do))->core_class.expose) ((Widget)(do), NULL, NULL)
0040
0041
0042
0043
0044 typedef struct
0045 {
0046 XtPointer extension;
0047 } XmDragOverShellClassPart;
0048
0049
0050
0051 typedef struct _XmDragOverShellClassRec
0052 {
0053 CoreClassPart core_class;
0054 CompositeClassPart composite_class;
0055 ShellClassPart shell_class;
0056 WMShellClassPart wm_shell_class;
0057 VendorShellClassPart vendor_shell_class;
0058 XmDragOverShellClassPart dragOver_shell_class;
0059 } XmDragOverShellClassRec;
0060
0061 externalref XmDragOverShellClassRec xmDragOverShellClassRec;
0062
0063 typedef struct _XmBackingRec{
0064 Position x, y;
0065 Pixmap pixmap;
0066 }XmBackingRec, *XmBacking;
0067
0068 typedef struct _XmDragOverBlendRec{
0069 XmDragIconObject sourceIcon;
0070 Position sourceX;
0071 Position sourceY;
0072 XmDragIconObject mixedIcon;
0073 GC gc;
0074 }XmDragOverBlendRec, *XmDragOverBlend;
0075
0076 typedef struct _XmDragOverShellPart{
0077 Position hotX;
0078 Position hotY;
0079 unsigned char cursorState;
0080 unsigned char mode;
0081 unsigned char activeMode;
0082
0083 Position initialX;
0084 Position initialY;
0085
0086 XmDragIconObject stateIcon;
0087 XmDragIconObject opIcon;
0088
0089 XmDragOverBlendRec cursorBlend;
0090 XmDragOverBlendRec rootBlend;
0091 Pixel cursorForeground;
0092 Pixel cursorBackground;
0093 Cursor ncCursor;
0094 Cursor activeCursor;
0095
0096 XmBackingRec backing;
0097 Pixmap tmpPix;
0098 Pixmap tmpBit;
0099 Boolean isVisible;
0100
0101
0102
0103 Boolean installColormap;
0104
0105
0106 Boolean holePunched;
0107
0108
0109
0110
0111 Widget colormapWidget;
0112 Widget colormapShell;
0113 Boolean colormapOverride;
0114 Colormap* savedColormaps;
0115 int numSavedColormaps;
0116 }XmDragOverShellPart;
0117
0118 typedef struct _XmDragOverShellRec{
0119 CorePart core;
0120 CompositePart composite;
0121 ShellPart shell;
0122 WMShellPart wm;
0123 VendorShellPart vendor;
0124 XmDragOverShellPart drag;
0125 } XmDragOverShellRec;
0126
0127 #ifdef __cplusplus
0128 }
0129 #endif
0130
0131 #endif