comparison lwlib/xlwgauge.h @ 442:abe6d1db359e r21-2-36

Import from CVS: tag r21-2-36
author cvs
date Mon, 13 Aug 2007 11:35:02 +0200
parents 9d177e8d4150
children 16b17fd1dc93
comparison
equal deleted inserted replaced
441:72a7cfa4a488 442:abe6d1db359e
23 /* 23 /*
24 * Gauge.h - Gauge widget 24 * Gauge.h - Gauge widget
25 * 25 *
26 * Author: Edward A. Falk 26 * Author: Edward A. Falk
27 * falk@falconer.vip.best.com 27 * falk@falconer.vip.best.com
28 * 28 *
29 * Date: July 8, 1997 29 * Date: July 8, 1997
30 */ 30 */
31 31
32 #ifndef _XawGauge_h 32 #ifndef _XawGauge_h
33 #define _XawGauge_h 33 #define _XawGauge_h
40 * defines the values at the ends of the range and the current value 40 * defines the values at the ends of the range and the current value
41 * and Gauge draws accordingly. Gauge does not accept input. 41 * and Gauge draws accordingly. Gauge does not accept input.
42 * 42 *
43 ***********************************************************************/ 43 ***********************************************************************/
44 44
45 #include ATHENA_INCLUDE(Label.h) 45 #include ATHENA_Label_h_
46 46
47 /* Resources: 47 /* Resources:
48 48
49 Name Class RepType Default Value 49 Name Class RepType Default Value
50 ---- ----- ------- ------------- 50 ---- ----- ------- -------------
87 tic marks will be drawn. 87 tic marks will be drawn.
88 ++ Nlabels sets the number of labels next to the gauge. 88 ++ Nlabels sets the number of labels next to the gauge.
89 +++ Labels is an array of nul-terminated strings to be used as labels. 89 +++ Labels is an array of nul-terminated strings to be used as labels.
90 If this field is NULL but nlabels is > 0, then numeric labels will be 90 If this field is NULL but nlabels is > 0, then numeric labels will be
91 provided. NOTE: the labels are not copied to any internal memory; they 91 provided. NOTE: the labels are not copied to any internal memory; they
92 must be stored in static memory provided by the appliction. 92 must be stored in static memory provided by the application.
93 ++++ AutoScale allows the gauge to set its own value limits. Default is 93 ++++ AutoScale allows the gauge to set its own value limits. Default is
94 False unless upper & lower limits are both 0. 94 False unless upper & lower limits are both 0.
95 95
96 +++++ The GetValue() callback proc is called with these arguments: 96 +++++ The GetValue() callback proc is called with these arguments:
97 static void 97 static void
100 XtPointer client ; 100 XtPointer client ;
101 XtPointer rval ; 101 XtPointer rval ;
102 { 102 {
103 *(Cardinal *)rval = value ; 103 *(Cardinal *)rval = value ;
104 } 104 }
105 105
106 */ 106 */
107 107
108 /* 108 /*
109 * Resource names not provided in StringDefs.h 109 * Resource names not provided in StringDefs.h
110 */ 110 */