Warning, file /include/Xm/ListP.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023 #ifndef _XmListP_h
0024 #define _XmListP_h
0025
0026 #include <Xm/List.h>
0027 #include <Xm/PrimitiveP.h>
0028 #include <Xm/ScrollBar.h>
0029 #include <Xm/ScrolledW.h>
0030 #include <Xm/XmosP.h>
0031
0032 #ifdef __cplusplus
0033 extern "C" {
0034 #endif
0035
0036
0037 typedef struct _XmListDragConvertStruct
0038 {
0039 Widget w;
0040 XmString *strings;
0041 int num_strings;
0042 } XmListDragConvertStruct;
0043
0044
0045 typedef struct _XmListClassPart
0046 {
0047 XtPointer extension;
0048 } XmListClassPart;
0049
0050
0051
0052 typedef struct _XmListClassRec
0053 {
0054 CoreClassPart core_class;
0055 XmPrimitiveClassPart primitive_class;
0056 XmListClassPart list_class;
0057 } XmListClassRec;
0058
0059 externalref XmListClassRec xmListClassRec;
0060
0061
0062 typedef struct {
0063 Dimension height;
0064 Dimension width;
0065 Boolean selected;
0066 Boolean last_selected;
0067 Boolean LastTimeDrawn;
0068 int length;
0069 wchar_t first_char;
0070 } Element, *ElementPtr;
0071
0072
0073 typedef struct _XmListPart
0074 {
0075 Dimension spacing;
0076 short ItemSpacing;
0077 Dimension margin_width;
0078 Dimension margin_height;
0079 XmFontList font;
0080 XmString *items;
0081 int itemCount;
0082 XmString *selectedItems;
0083 int *selectedPositions;
0084 int selectedItemCount;
0085 int visibleItemCount;
0086 int LastSetVizCount;
0087 unsigned char SelectionPolicy;
0088 unsigned char ScrollBarDisplayPolicy;
0089 unsigned char SizePolicy;
0090 XmStringDirection StrDir;
0091
0092 XtEnum AutoSelect;
0093 Boolean DidSelection;
0094 Boolean FromSetSB;
0095 Boolean FromSetNewSize;
0096 unsigned char SelectionMode;
0097 unsigned char LeaveDir;
0098 unsigned char HighlightThickness;
0099 int ClickInterval;
0100 XtIntervalId DragID;
0101 XtCallbackList SingleCallback;
0102 XtCallbackList MultipleCallback;
0103 XtCallbackList ExtendCallback;
0104 XtCallbackList BrowseCallback;
0105 XtCallbackList DefaultCallback;
0106
0107
0108 GC NormalGC;
0109 GC InverseGC;
0110 GC HighlightGC;
0111 Pixmap DashTile;
0112 ElementPtr *InternalList;
0113 int LastItem;
0114 int FontHeight;
0115 int top_position;
0116 char Event;
0117 int LastHLItem;
0118
0119
0120
0121
0122
0123
0124
0125
0126 int StartItem;
0127 int OldStartItem;
0128 int EndItem;
0129 int OldEndItem;
0130
0131 Position BaseX;
0132 Position BaseY;
0133
0134
0135
0136
0137 Boolean MouseMoved;
0138
0139 Boolean AppendInProgress;
0140 Boolean Traversing;
0141 Boolean KbdSelection;
0142 short DownCount;
0143 Time DownTime;
0144 int CurrentKbdItem;
0145 unsigned char SelectionType;
0146 GC InsensitiveGC;
0147
0148 int vmin;
0149 int vmax;
0150 int vOrigin;
0151 int vExtent;
0152
0153 int hmin;
0154 int hmax;
0155 int hOrigin;
0156 int hExtent;
0157
0158 Dimension MaxWidth;
0159 Dimension CharWidth;
0160 Position XOrigin;
0161
0162 XmScrollBarWidget hScrollBar;
0163 XmScrollBarWidget vScrollBar;
0164 XmScrolledWindowWidget Mom;
0165 Dimension MaxItemHeight;
0166
0167
0168 int selectedPositionCount;
0169
0170 unsigned char matchBehavior;
0171
0172
0173
0174
0175
0176
0177
0178
0179 unsigned char AutoSelectionType;
0180
0181
0182
0183
0184
0185 unsigned char PrimaryOwnership;
0186
0187 XtCallbackList DestinationCallback;
0188
0189
0190 XmRendition scratchRend;
0191 Pixel selectColor;
0192
0193
0194
0195
0196
0197
0198
0199
0200
0201 int previous_top_position;
0202
0203 XtIntervalId drag_start_timer;
0204 char * drag_abort_action;
0205 XEvent drag_event;
0206 XmListDragConvertStruct *drag_conv;
0207 } XmListPart;
0208
0209
0210
0211 typedef struct _XmListRec
0212 {
0213 CorePart core;
0214 XmPrimitivePart primitive;
0215 XmListPart list;
0216 } XmListRec;
0217
0218
0219 #ifdef __cplusplus
0220 }
0221 #endif
0222
0223 #endif
0224