ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 //////////////////////////////////////////////////////////////////////////
17 // //
18 // TPavesText //
19 // //
20 // PavesText A PaveText with a number of stacked paves. //
21 // //
22 //////////////////////////////////////////////////////////////////////////
23 
24 #ifndef ROOT_TPaveText
25 #include "TPaveText.h"
26 #endif
27 
28 class TPavesText : public TPaveText {
29 
30 protected:
31  Int_t fNpaves; //Number of stacked paves
32 
33 public:
34  TPavesText();
35  TPavesText(Double_t x1, Double_t y1,Double_t x2 ,Double_t y2, Int_t npaves=5, Option_t *option="br");
36  TPavesText(const TPavesText &pavestext);
37  virtual ~TPavesText();
38 
39  virtual void Draw(Option_t *option="");
40  virtual Int_t GetNpaves() {return fNpaves;}
41  virtual void Paint(Option_t *option="");
42  virtual void SavePrimitive(std::ostream &out, Option_t *option = "");
43  virtual void SetNpaves(Int_t npaves=5) {fNpaves=npaves;} // *MENU*
44 
45  ClassDef(TPavesText,1) //Stacked Paves with text strings
46 };
47 
48 #endif
49 
ClassDef(TAttBBox2D, 0)
const char Option_t
Definition: RtypesCore.h:62
virtual void SetNpaves(Int_t npaves=5)
Definition: TPavesText.h:43
int Int_t
Definition: RtypesCore.h:41
virtual void Draw(Option_t *option="")
Draw this pavestext with its current attributes.
Definition: TPavesText.cxx:79
static const double x2[5]
char * out
Definition: TBase64.cxx:29
virtual void Paint(Option_t *option="")
Paint this pavestext with its current attributes.
Definition: TPavesText.cxx:87
virtual ~TPavesText()
Pavestext default destructor.
Definition: TPavesText.cxx:59
static const double x1[5]
A Pave (see TPave) with text, lines or/and boxes inside.
Definition: TPaveText.h:35
double Double_t
Definition: RtypesCore.h:55
virtual Int_t GetNpaves()
Definition: TPavesText.h:40
Int_t fNpaves
Definition: TPavesText.h:31
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
Definition: TPavesText.cxx:118
A PaveText (see TPaveText) with several stacked paves.
Definition: TPavesText.h:28