*
* Author: Edward A. Falk
* falk@falconer.vip.best.com
- *
+ *
* Date: July 8, 1997
*/
*
***********************************************************************/
-#include <X11/Xaw/Label.h>
+#include ATHENA_Label_h_
/* Resources:
Name Class RepType Default Value
---- ----- ------- -------------
- value Value Cardinal 0
- minValue MinValue Cardinal 0
- maxValue MaxValue Cardinal 100
+ value Value Int 0
+ minValue Int Cardinal 0
+ maxValue Int Cardinal 100
ntics NTics Cardinal 0 +
nlabels NLabels Cardinal 0 ++
labels Labels String * NULL +++
+++ Labels is an array of nul-terminated strings to be used as labels.
If this field is NULL but nlabels is > 0, then numeric labels will be
provided. NOTE: the labels are not copied to any internal memory; they
- must be stored in static memory provided by the appliction.
+ must be stored in static memory provided by the application.
++++ AutoScale allows the gauge to set its own value limits. Default is
False unless upper & lower limits are both 0.
XtPointer client ;
XtPointer rval ;
{
- *(Cardinal *)rval = value ;
+ *(int *)rval = value ;
}
-
+
*/
/*
extern void XawGaugeSetValue(
#if NeedFunctionPrototypes
Widget gauge,
- Cardinal value
+ int value
#endif
);
-extern Cardinal XawGaugeGetValue(
+extern int XawGaugeGetValue(
#if NeedFunctionPrototypes
Widget gauge
#endif