/* $Header: /afs/athena.mit.edu/astaff/project/atdev/src/parameter/RCS/Parameter.h,v 3.1 91/01/03 17:51:33 crcraig Exp $ */

/*******************************************************************
  Copyright (C) 1990 by the Massachusetts Institute of Technology

   Export of this software from the United States of America is assumed
   to require a specific license from the United States Government.
   It is the responsibility of any person or organization contemplating
   export to obtain such a license before exporting.

WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
distribute this software and its documentation for any purpose and
without fee is hereby granted, provided that the above copyright
notice appear in all copies and that both that copyright notice and
this permission notice appear in supporting documentation, and that
the name of M.I.T. not be used in advertising or publicity pertaining
to distribution of the software without specific, written prior
permission.  M.I.T. makes no representations about the suitability of
this software for any purpose.  It is provided "as is" without express
or implied warranty.

***************************************************************** */

#ifndef _AtParameter_h
#define _AtParameter_h

#include <Xm/Xm.h>

#ifdef _AtDevelopment_
#include "AtConverters.h"
#else
#include <At/AtConverters.h>
#endif

#define     XmNlabelString        "labelString"
#define     XmCLabelString        "LabelString"
#define     XmNunitString         "unitString"
#define     XmCUnitString         "UnitString"
#define     XmNfontFamily         "fontFamily"
#define     XmCFontFamily         "FontFamily"
#define     XmNfontSize           "fontSize"
#define     XmCFontSize           "FontSize"
#define     XmNvalue              "value"
#define     XmCValue              "Value"
#define     XmNmin                "min"
#define     XmCMin                "Min"
#define     XmNmax                "max"
#define     XmCMax                "Max"
#define     XmNincrement          "increment"
#define     XmCIncrement          "Increment"
#define     XmNintegerMode        "integerMode"
#define     XmCIntegerMode        "IntegerMode"
#define     XmNgeometricMode      "geometricMode"
#define     XmCGeometricMode      "GeometricMode"
#define     XmNmultiplier         "multiplier"
#define     XmCMultiplier         "Multiplier"
#define     XmNformat             "format"
#define     XmCFormat             "Format"
#define     XmNvalueChangedCallback "valueChangedCallback"
#define     XmCValueChangedCallback "ValueChangedCallback"
#define     XmNinitialDelay       "initialDelay"
#define     XmCInitialDelay       "InitialDelay"
#define     XmNrepeatDelay        "repeatDelay"
#define     XmCRepeatDelay        "RepeatDelay"



/*  Widget class and record definitions  */

extern WidgetClass atParameterWidgetClass;
typedef struct _AtParameterClassRec     * AtParameterWidgetClass;
typedef struct _AtParameterRec          * AtParameterWidget;

extern Widget AtParameterCreate();
extern double AtParameterGetValue();
extern void AtParameterSetValue();

#endif _AtParameter_h
/* DON'T ADD ANYTHING AFTER THIS #endif */

