1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50 #ifndef XmLProgressPH
51 #define XmLProgressPH
52
53 #include <Xm/XmP.h>
54 #include <X11/StringDefs.h>
55 #ifdef MOTIF11
56 #else
57 #include <Xm/PrimitiveP.h>
58 #include <Xm/DrawP.h>
59 #endif
60
61 #include <sys/types.h>
62 #include "Progress.h"
63
64 typedef struct _XmLProgressPart
65 {
66 int completeValue, value;
67 Boolean showTime;
68 Boolean showPercentage;
69 XmRenderTable renderTable;
70 Boolean check_set_render_table;
71 GC gc;
72 time_t startTime;
73 XFontStruct *fallbackFont;
74 unsigned char meterStyle;
75 int numBoxes;
76 } XmLProgressPart;
77
78 typedef struct _XmLProgressRec
79 {
80 CorePart core;
81 XmPrimitivePart primitive;
82 XmLProgressPart progress;
83 } XmLProgressRec;
84
85 typedef struct _XmLProgressClassPart
86 {
87 int null;
88 } XmLProgressClassPart;
89
90 typedef struct _XmLProgressClassRec
91 {
92 CoreClassPart core_class;
93 XmPrimitiveClassPart primitive_class;
94 XmLProgressClassPart progress_class;
95 } XmLProgressClassRec;
96
97 extern XmLProgressClassRec xmlProgressClassRec;
98
99 #endif
100