//*CMZ :  1.03/09 06/12/97  16.49.04  by  Fons Rademakers
//*-- Author :    Rene Brun   12/12/94

//*KEEP,CopyRight,T=C.
/*************************************************************************
 * Copyright(c) 1995-1999, The ROOT System, All rights reserved.         *
 * Authors: Rene Brun, Fons Rademakers.                                  *
 * For list of contributors see $ROOTSYS/AA_CREDITS.                     *
 *                                                                       *
 * Permission to use, copy, modify and distribute this software and its  *
 * documentation for non-commercial purposes is hereby granted without   *
 * fee, provided that the above copyright notice appears in all copies   *
 * and that both the copyright notice and this permission notice appear  *
 * in the supporting documentation. The authors make no claims about the *
 * suitability of this software for any purpose. It is provided "as is"  *
 * without express or implied warranty.                                  *
 *************************************************************************/
//*KEND.

//*KEEP,Strlen.
#include "Strlen.h"
//*KEEP,TAttHist.
#include "TAttHist.h"
//*KEEP,TStyle.
#include "TStyle.h"
//*KEND.

ClassImp(TAttHist)

//______________________________________________________________________________
//
// Manages default histogram attributes. Referenced by TStyle.
//

//______________________________________________________________________________
 TAttHist::TAttHist()
{
   if (!gStyle) return;
   fHistColor = gStyle->GetHistLineColor();
   fHistWidth = gStyle->GetHistLineWidth();
   fHistStyle = gStyle->GetHistLineStyle();
}

//______________________________________________________________________________
 TAttHist::TAttHist(Color_t color, Style_t style, Width_t width)
{
   fHistColor = color;
   fHistWidth = width;
   fHistStyle = style;
}

//______________________________________________________________________________
 TAttHist::~TAttHist()
{
}

//______________________________________________________________________________
 void TAttHist::Copy(TAttHist &atthist)
{
   atthist.fHistColor  = fHistColor;
   atthist.fHistStyle  = fHistStyle;
   atthist.fHistWidth  = fHistWidth;
}

//______________________________________________________________________________
 void TAttHist::Print(Option_t *)
{
}


//______________________________________________________________________________
 void TAttHist::Reset(Option_t *)
{
   fHistColor = 1;
   fHistStyle = 1;
   fHistWidth = 1;
}


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.