// @(#)root/graf:$Id$
// Author: Rene Brun   19/11/95

/*************************************************************************
 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TPavesText
#define ROOT_TPavesText


//////////////////////////////////////////////////////////////////////////
//                                                                      //
// TPavesText                                                           //
//                                                                      //
// PavesText   A PaveText with a number of stacked paves.               //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

#ifndef ROOT_TPaveText
#include "TPaveText.h"
#endif

class TPavesText : public TPaveText {

protected:
   Int_t      fNpaves;        //Number of stacked paves

public:
   TPavesText();
   TPavesText(Double_t x1, Double_t y1,Double_t x2 ,Double_t y2, Int_t npaves=5, Option_t *option="br");
   TPavesText(const TPavesText &pavestext);
   virtual ~TPavesText();

   virtual void  Draw(Option_t *option="");
   virtual Int_t GetNpaves() {return fNpaves;}
   virtual void  Paint(Option_t *option="");
   virtual void  SavePrimitive(std::ostream &out, Option_t *option = "");
   virtual void  SetNpaves(Int_t npaves=5) {fNpaves=npaves;} // *MENU*

   ClassDef(TPavesText,1)  //Stacked Paves with text strings
};

#endif

 TPavesText.h:1
 TPavesText.h:2
 TPavesText.h:3
 TPavesText.h:4
 TPavesText.h:5
 TPavesText.h:6
 TPavesText.h:7
 TPavesText.h:8
 TPavesText.h:9
 TPavesText.h:10
 TPavesText.h:11
 TPavesText.h:12
 TPavesText.h:13
 TPavesText.h:14
 TPavesText.h:15
 TPavesText.h:16
 TPavesText.h:17
 TPavesText.h:18
 TPavesText.h:19
 TPavesText.h:20
 TPavesText.h:21
 TPavesText.h:22
 TPavesText.h:23
 TPavesText.h:24
 TPavesText.h:25
 TPavesText.h:26
 TPavesText.h:27
 TPavesText.h:28
 TPavesText.h:29
 TPavesText.h:30
 TPavesText.h:31
 TPavesText.h:32
 TPavesText.h:33
 TPavesText.h:34
 TPavesText.h:35
 TPavesText.h:36
 TPavesText.h:37
 TPavesText.h:38
 TPavesText.h:39
 TPavesText.h:40
 TPavesText.h:41
 TPavesText.h:42
 TPavesText.h:43
 TPavesText.h:44
 TPavesText.h:45
 TPavesText.h:46
 TPavesText.h:47
 TPavesText.h:48
 TPavesText.h:49