1 |
root |
1.1 |
#ifndef _CrListP_h |
2 |
|
|
#define _CrListP_h |
3 |
|
|
|
4 |
|
|
#include <CrList.h> |
5 |
|
|
|
6 |
|
|
#include <X11/CoreP.h> |
7 |
|
|
|
8 |
|
|
/********************************************************************** |
9 |
|
|
* class * |
10 |
|
|
**********************************************************************/ |
11 |
|
|
|
12 |
|
|
typedef struct { |
13 |
|
|
int empty; |
14 |
|
|
} CrListClassPart; |
15 |
|
|
|
16 |
|
|
typedef struct _CrListClassRec { |
17 |
|
|
CoreClassPart core_class; |
18 |
|
|
CrListClassPart crList_class; |
19 |
|
|
} CrListClassRec; |
20 |
|
|
|
21 |
|
|
extern CrListClassRec crListClassRec; |
22 |
|
|
|
23 |
|
|
/********************************************************************** |
24 |
|
|
* instance * |
25 |
|
|
**********************************************************************/ |
26 |
|
|
|
27 |
|
|
typedef struct { |
28 |
|
|
GC gc; |
29 |
|
|
XFontStruct *font; |
30 |
|
|
GC normal_GC; |
31 |
|
|
Pixel foreground; |
32 |
|
|
/* Boolean adjust; */ |
33 |
|
|
XtCallbackList selectCallbacks; /* called when selecting */ |
34 |
|
|
XtCallbackList insertCallbacks; /* called when inserting */ |
35 |
|
|
XtCallbackList deleteCallbacks; /* called when */ |
36 |
|
|
|
37 |
|
|
CrListNode (*next)(XtPointer, XtPointer); /* called when */ |
38 |
|
|
void *element; |
39 |
|
|
XtPointer *caller; |
40 |
|
|
} CrListPart; |
41 |
|
|
|
42 |
|
|
typedef struct _CrListRec { |
43 |
|
|
CorePart core; |
44 |
|
|
CrListPart crList; |
45 |
|
|
} CrListRec; |
46 |
|
|
|
47 |
|
|
#endif /* _CrList_h */ |
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|