File indexing completed on 2025-01-18 10:15:28
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023 #ifndef _XmScreenP_h
0024 #define _XmScreenP_h
0025
0026 #include <Xm/DesktopP.h>
0027 #include <Xm/Screen.h>
0028 #include <Xm/DragIcon.h>
0029
0030 #ifdef __cplusplus
0031 extern "C" {
0032 #endif
0033
0034 typedef struct _XmScreenClassPart {
0035 XtPointer extension;
0036 } XmScreenClassPart, *XmScreenClassPartPtr;
0037
0038 typedef struct _XmScreenClassRec {
0039
0040
0041 CoreClassPart core_class ;
0042 XmDesktopClassPart desktop_class;
0043 XmScreenClassPart screen_class;
0044 } XmScreenClassRec;
0045
0046 typedef struct _XmDragCursorRec {
0047 struct _XmDragCursorRec *next;
0048 Cursor cursor;
0049 XmDragIconObject stateIcon;
0050 XmDragIconObject opIcon;
0051 XmDragIconObject sourceIcon;
0052 Boolean dirty;
0053 } XmDragCursorRec, *XmDragCursorCache;
0054
0055 typedef struct _XmScratchPixmapKeyRec *XmScratchPixmapKey;
0056
0057 typedef struct _XmScratchPixmapKeyRec {
0058 Cardinal depth;
0059 Dimension width;
0060 Dimension height;
0061 } XmScratchPixmapKeyRec;
0062
0063 typedef struct {
0064 Boolean mwmPresent;
0065 unsigned short numReparented;
0066 int darkThreshold;
0067 int foregroundThreshold;
0068 int lightThreshold;
0069 XmDragIconObject defaultNoneCursorIcon;
0070 XmDragIconObject defaultValidCursorIcon;
0071 XmDragIconObject defaultInvalidCursorIcon;
0072 XmDragIconObject defaultMoveCursorIcon;
0073 XmDragIconObject defaultCopyCursorIcon;
0074 XmDragIconObject defaultLinkCursorIcon;
0075 XmDragIconObject defaultSourceCursorIcon;
0076
0077 Cursor nullCursor;
0078 XmDragCursorRec *cursorCache;
0079 Cardinal maxCursorWidth;
0080 Cardinal maxCursorHeight;
0081
0082 Cursor menuCursor;
0083 unsigned char unpostBehavior;
0084 XFontStruct * font_struct;
0085 int h_unit;
0086 int v_unit;
0087 XtPointer scratchPixmaps;
0088 unsigned char moveOpaque;
0089 XmScreenColorProc color_calc_proc;
0090 XmAllocColorProc color_alloc_proc;
0091 XtEnum bitmap_conversion_model;
0092
0093
0094
0095 XmDragIconObject xmStateCursorIcon;
0096 XmDragIconObject xmMoveCursorIcon;
0097 XmDragIconObject xmCopyCursorIcon;
0098 XmDragIconObject xmLinkCursorIcon;
0099 XmDragIconObject xmSourceCursorIcon;
0100
0101 GC imageGC;
0102 int imageGCDepth;
0103 Pixel imageForeground;
0104 Pixel imageBackground;
0105
0106 XtPointer screenInfo;
0107
0108 XtPointer user_data;
0109
0110 Pixmap insensitive_stipple_bitmap;
0111
0112 #ifdef DEFAULT_GLYPH_PIXMAP
0113 Pixmap default_glyph_pixmap ;
0114 unsigned int default_glyph_pixmap_width ;
0115 unsigned int default_glyph_pixmap_height ;
0116 #endif
0117
0118 XtPointer inUsePixmaps;
0119 } XmScreenPart, *XmScreenPartPtr;
0120
0121 typedef struct _XmScreenInfo {
0122
0123 XtPointer menu_state;
0124 Boolean destroyCallbackAdded;
0125 } XmScreenInfo;
0126
0127 externalref XmScreenClassRec xmScreenClassRec;
0128
0129 typedef struct _XmScreenRec {
0130
0131
0132 CorePart core ;
0133 XmDesktopPart desktop;
0134 XmScreenPart screen;
0135 } XmScreenRec;
0136
0137
0138 #ifdef __cplusplus
0139 }
0140 #endif
0141
0142 #endif
0143