Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
TPavesText.h
Go to the documentation of this file.
1 // @(#)root/graf:$Id$
2 // Author: Rene Brun 19/11/95
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TPavesText
13 #define ROOT_TPavesText
14 
15 
16 #include "TPaveText.h"
17 
18 class TPavesText : public TPaveText {
19 
20 protected:
21  Int_t fNpaves; ///< Number of stacked paves
22 
23 public:
24  TPavesText();
25  TPavesText(Double_t x1, Double_t y1,Double_t x2 ,Double_t y2, Int_t npaves=5, Option_t *option="br");
26  TPavesText(const TPavesText &pavestext);
27  virtual ~TPavesText();
28 
29  virtual void Draw(Option_t *option="");
30  virtual Int_t GetNpaves() {return fNpaves;}
31  virtual void Paint(Option_t *option="");
32  virtual void SavePrimitive(std::ostream &out, Option_t *option = "");
33  virtual void SetNpaves(Int_t npaves=5) {fNpaves=npaves;} // *MENU*
34 
35  ClassDef(TPavesText,1) //Stacked Paves with text strings
36 };
37 
38 #endif
39