comparison lwlib/xlwgauge.h @ 3968:16b17fd1dc93

[xemacs-hg @ 2007-05-20 15:56:30 by stephent] Fix type declarations in progress gauge widget. <873b1r8owl.fsf@uwakimon.sk.tsukuba.ac.jp>
author stephent
date Sun, 20 May 2007 15:56:36 +0000
parents abe6d1db359e
children 308d34e9f07d
comparison
equal deleted inserted replaced
3967:e6ca8521a705 3968:16b17fd1dc93
46 46
47 /* Resources: 47 /* Resources:
48 48
49 Name Class RepType Default Value 49 Name Class RepType Default Value
50 ---- ----- ------- ------------- 50 ---- ----- ------- -------------
51 value Value Cardinal 0 51 value Value Int 0
52 minValue MinValue Cardinal 0 52 minValue Int Cardinal 0
53 maxValue MaxValue Cardinal 100 53 maxValue Int Cardinal 100
54 ntics NTics Cardinal 0 + 54 ntics NTics Cardinal 0 +
55 nlabels NLabels Cardinal 0 ++ 55 nlabels NLabels Cardinal 0 ++
56 labels Labels String * NULL +++ 56 labels Labels String * NULL +++
57 orientation Orientation XtOrientation horizontal 57 orientation Orientation XtOrientation horizontal
58 autoScaleUp AutoScaleUp Boolean FALSE ++++ 58 autoScaleUp AutoScaleUp Boolean FALSE ++++
98 myGetValue(gauge, client, rval) 98 myGetValue(gauge, client, rval)
99 Widget gauge ; 99 Widget gauge ;
100 XtPointer client ; 100 XtPointer client ;
101 XtPointer rval ; 101 XtPointer rval ;
102 { 102 {
103 *(Cardinal *)rval = value ; 103 *(int *)rval = value ;
104 } 104 }
105 105
106 */ 106 */
107 107
108 /* 108 /*
167 _XFUNCPROTOBEGIN 167 _XFUNCPROTOBEGIN
168 168
169 extern void XawGaugeSetValue( 169 extern void XawGaugeSetValue(
170 #if NeedFunctionPrototypes 170 #if NeedFunctionPrototypes
171 Widget gauge, 171 Widget gauge,
172 Cardinal value 172 int value
173 #endif 173 #endif
174 ); 174 );
175 175
176 extern Cardinal XawGaugeGetValue( 176 extern int XawGaugeGetValue(
177 #if NeedFunctionPrototypes 177 #if NeedFunctionPrototypes
178 Widget gauge 178 Widget gauge
179 #endif 179 #endif
180 ); 180 );
181 181