#ifndef TGO4WINCONDVIEW_H #define TGO4WINCONDVIEW_H #include "TBox.h" class TGo4WinCond; class TGo4WinCondView : public TBox { public: TGo4WinCondView(Double_t x1,Double_t y1,Double_t x2,Double_t y2); TGo4WinCondView(); virtual ~TGo4WinCondView(); virtual void Paint(Option_t* opt=""); virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py); void SetCondition(TGo4WinCond* condition) { fxWinCondition=condition; } TGo4WinCond* GetCondition(){return fxWinCondition;} const char* GetName() const; void SetName(const Text_t* nam); // *MENU* /** Delete condition instead of view: */ //void DeleteRegion(); // *MENU* void SetToLimits(Double_t x1, Double_t x2,Double_t y1=0, Double_t y2=0); // *MENU* void SetLabelDraw(Bool_t on); // *MENU* void SetLimitsDraw(Bool_t on); // *MENU* void SetIntDraw(Bool_t on); // *MENU* void SetXMeanDraw(Bool_t on); // *MENU* void SetXRMSDraw(Bool_t on); // *MENU* void SetYMeanDraw(Bool_t on); // *MENU* void SetYRMSDraw(Bool_t on); // *MENU* void SetXMaxDraw(Bool_t on); // *MENU* void SetYMaxDraw(Bool_t on); // *MENU* void SetCMaxDraw(Bool_t on); // *MENU* /** This will save draw flags into static default setup */ void SaveLabelStyle();// *MENU* /** Will reset label position to defaults */ void ResetLabel();// *MENU* private: /** pointer to viewed condition for update after graphical action */ TGo4WinCond* fxWinCondition; //! ClassDef(TGo4WinCondView,6) }; #endif //TGO4WINCONDVIEW_H