14 #ifndef TGO4LABELPAINTER_H
15 #define TGO4LABELPAINTER_H
17 #include "TPaveText.h"
35 TGo4Label(Double_t x1, Double_t y1, Double_t x2, Double_t y2, Option_t* option =
"br")
36 : TPaveText(x1,y1,x2,y2,option),
fxOwner(0) { SetBit(kMustCleanup); }
41 virtual void Paint(Option_t* opt=
"");
43 virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
66 : TLine(x1,y1,x2,y2),
fxOwner(0) { SetBit(kMustCleanup); }
71 virtual void Paint(Option_t* opt=
"");
91 class TGo4LabelPainter :
public TNamed,
public TAttLine,
public TAttFill,
public TAttText {
158 void LabelCoords(Double_t &xmin, Double_t &ymin, Double_t &xmax, Double_t &ymax);
166 #endif //TGO4LABELPAINTER_H
virtual ~TGo4LabelConnector()
virtual void Paint(Option_t *opt="")
TGo4LabelConnector(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
TGo4Label(Double_t x1, Double_t y1, Double_t x2, Double_t y2, Option_t *option="br")
virtual void UnPaintLabel(Option_t *opt="")
virtual void Paint(Option_t *opt="")
TGo4Label * CreateCurrentLabel(Double_t x, Double_t y)
virtual ~TGo4LabelPainter()
virtual void PaintLabel(Option_t *opt="")
void SetWidth(Double_t w=0)
void SetCaption(const char *txt)
void LabelCoords(Double_t &xmin, Double_t &ymin, Double_t &xmax, Double_t &ymax)
static char * fxLastDeleted
void SetOwner(TObject *ob)
static char * fxLastDeleted
void SetOwner(TObject *ob)
void SetHeight(Double_t h=0)
void AddToLabel(const char *txt)
virtual void DisplayToFront(Option_t *opt="")
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual void RePaintLabel(Option_t *opt="")