ROOT logo
#ifndef THPRTEXTBOX
#define THPRTEXTBOX
#include "HprElement.h"
#include "TextBox.h"

class THprTextBox : public TextBox, public HprElement
{
public:
   THprTextBox(){ SetDaughter(this);};
   THprTextBox(Double_t x1, Double_t y1, Double_t x2, Double_t y2,
               const Char_t *name = NULL);
   ~THprTextBox(){};
   void Paint(const Option_t *opt);
   Bool_t IsSortable() const {return kTRUE;}

   Int_t Compare( const TObject *obj) const
   {
      const HprElement* hpre = dynamic_cast<const HprElement*>(obj);
      if (GetPlane()== hpre->GetPlane())
         return 0;
      if (GetPlane() > hpre->GetPlane())
         return 1;
      else
         return -1;
   }
// #if ROOT_VERSION_CODE >= ROOT_VERSION(5,12,0)
//   void SavePrimitive(ostream &, Option_t *);
// #else
//   void SavePrimitive(ofstream &, Option_t *);
// #endif
ClassDef(THprTextBox,1)
};
#endif
 THprTextBox.h:1
 THprTextBox.h:2
 THprTextBox.h:3
 THprTextBox.h:4
 THprTextBox.h:5
 THprTextBox.h:6
 THprTextBox.h:7
 THprTextBox.h:8
 THprTextBox.h:9
 THprTextBox.h:10
 THprTextBox.h:11
 THprTextBox.h:12
 THprTextBox.h:13
 THprTextBox.h:14
 THprTextBox.h:15
 THprTextBox.h:16
 THprTextBox.h:17
 THprTextBox.h:18
 THprTextBox.h:19
 THprTextBox.h:20
 THprTextBox.h:21
 THprTextBox.h:22
 THprTextBox.h:23
 THprTextBox.h:24
 THprTextBox.h:25
 THprTextBox.h:26
 THprTextBox.h:27
 THprTextBox.h:28
 THprTextBox.h:29
 THprTextBox.h:30
 THprTextBox.h:31
 THprTextBox.h:32
 THprTextBox.h:33