#ifndef _NumberLine_h
#define _NumberLine_h
/***********************************************************************
 *
 * Number Line Widget
 * X11 Version
 * Copyright 1988 Timothy L. Davis
 *
 * $Source: /mit/hst/src/nl/RCS/NumberLine.h,v $
 * $Header: /mit/hst/src/nl/RCS/NumberLine.h,v 2.2 90/08/18 18:35:51 tldavis Exp $
 ***********************************************************************/

#ifdef XAW_BC
#define XtNlabel		"label"
#define XtNfont			"font"
#endif
#define XtNminimum              "minimum"
#define XtNmaximum              "maximum"
#define XtNpresent              "present"
#define XtNdefault              "default"
#define XtNprevious             "previous"
#define XtNdone                 "done"
#define XtNpercentage           "percentage"

#ifndef XtNcallback
#define XtNcallback             "callback"
#endif

extern WidgetClass numberLineWidgetClass;

extern void NumberLineGetValue(); /* w, value, done */
 /* Widget w; 
  * double *value; 
  * int *done; 
  */

extern Boolean NumberLineEnroll(); /* w, place, type */
 /* Widget w;
  * int place;
  * int type;
  */

extern void NumberLineCancelType(); /* w */
 /* Widget w;
  */

extern void NumberLineResetAll();
extern void NumberLineDestroyAll();
extern Boolean NumberLineCheckType(); /*int place, int type */
/*
 * Format for Callback procedure:
 *
 *    void Proc(w, client_data, call_data)
 *         Widget w;                 * Widget for which callback is registered 
 *         caddr_t client_data;      * client-specified data closure
 *         caddr_t call_data;        * unused
 *
 * Add callbacks using XtAddCallback of type XtNcallback
 */

#endif

