/************************************************************************/
/* Copyright 1998 MBARI							*/
/************************************************************************/
#ifndef _VEHICLESTATE_H
#define _VEHICLESTATE_H
static char VehicleState_h_id[] = "$Header: /u/oreilly/rov/tmacs/RCS/VehicleState.h,v 1.3 1998/12/18 21:07:21 oreilly Exp $";

/*
$Log: VehicleState.h,v $
Revision 1.3  1998/12/18 21:07:21  oreilly
Added documentation

Revision 1.2  1997/06/16 16:01:05  oreilly
*** empty log message ***

 * Revision 1.1  96/10/28  09:14:17  09:14:17  oreilly (Thomas C. O'Reilly)
 * Initial revision
 * 
*/


#include "DmGuiObject.h"

/*
CLASS 
VehicleState

DESCRIPTION
Indicates current "state" of vehicle (alive, dead, wet, etc.)

AUTHOR
Tom O'Reilly
*/
class VehicleState : public DmGuiObject
{
  public:
  VehicleState(const char *name, Widget parent);

  ~VehicleState()
  {
  }

  const char *className()
  {
    return "VehicleState";
  }
  
  virtual void updateGui(DM_Item handle = 0);
  
  protected:
  Widget _label;
  DmBooleanObject *_dmInWater;
  DmBooleanObject *_dmAlive;
  DmEnumObject *_dmErsMode;
  Pixel _dryForeground, _dryBackground;
  Pixel _wetForeground, _wetBackground;
  static XtResource _resources[];
  
};


#endif
