16 #include "TVirtualPad.h"
49 TObject* boxinpad=gPad->GetListOfPrimitives()->FindObject(
fxBox);
60 wconny->
GetValues(dim, xpmin, xpmax, ypmin, ypmax);
68 wconny->
SetValues(xpmax, xpmin, ypmin, ypmax );
75 wconny->
SetValues(xpmin, xpmax, ypmax, ypmin );
85 #if ROOT_VERSION_CODE < ROOT_VERSION(4,3,2)
87 xpmin = gPad->XtoPad(xpmin);
88 xpmax = gPad->XtoPad(xpmax);
91 ypmin =gPad->GetUymin();
92 ypmax =gPad->GetUymax();
96 ypmin=gPad->YtoPad(ypmin);
97 ypmax=gPad->YtoPad(ypmax);
103 ypmin=gPad->PadtoY(gPad->GetUymin());
104 ypmax=gPad->PadtoY(gPad->GetUymax());
106 #endif // ROOT_VERSION < 4.3.2
125 if(!strcmp(opt,
"fixstyle"))
129 fxBox->SetLineWidth(wconny->GetLineWidth());
130 fxBox->SetLineColor(wconny->GetLineColor());
131 fxBox->SetLineStyle(wconny->GetLineStyle());
132 fxBox->SetFillColor(wconny->GetFillColor());
133 fxBox->SetFillStyle(wconny->GetFillStyle());
137 fxBox->SetLineWidth(wconny->GetLineWidth());
138 fxBox->SetLineColor(wconny->GetLineColor());
139 fxBox->SetLineStyle(wconny->GetLineStyle());
140 fxBox->SetFillColor(wconny->GetFillColor());
141 fxBox->SetFillStyle(wconny->GetFillStyle());
157 gROOT->GetListOfCanvases()->RecursiveRemove(
fxBox);
160 if(option.Contains(
"reset")) {
Bool_t IsAtExecuteMouseEvent()
TGo4Condition * fxCondition
virtual void GetValues(Int_t &dim, Double_t &x1, Double_t &y1, Double_t &x2, Double_t &y2)
virtual void Paint(Option_t *opt="")
virtual void DisplayToFront(Option_t *opt="")
virtual ~TGo4WinCondPainter()
virtual Bool_t IsVisible()
void SetCondition(TGo4WinCond *condition)
virtual void UnPaintCondition(Option_t *opt="")
virtual void SetValues(Double_t low1, Double_t up1)
virtual void PaintCondition(Option_t *opt="")
virtual void DisplayToFront(Option_t *opt="")