00001 00020 #ifndef EVENTINFOPAGE_H 00021 #define EVENTINFOPAGE_H 00022 00023 #include "Midad/Base/PageABC.h" 00024 #include <iosfwd> 00025 00026 class GuiTextView; 00027 class TGWindow; 00028 00029 class EventInfoPage : public PageABC 00030 { 00031 00032 public: 00033 00034 EventInfoPage(); 00035 ~EventInfoPage(); 00036 00037 // If you override this (say, so GetCanvas() can be called in your 00038 // own Init()), you should explicitly call it in your Init(). 00039 virtual TObject* Init(Mint* mint, PageDisplay* pd, GuiBox& box); 00040 00041 virtual void Update(); 00042 virtual void Print(); 00043 00044 virtual void WriteInfo( std::ostream& os ) const; 00045 00046 // If you want default ROOT print manerisms, don't override this. 00047 00048 virtual void Unzoom() {}; 00049 virtual void Rezoom() {}; 00050 virtual void FullZoom() {}; 00051 virtual void AutoZoom() {}; 00052 00053 protected: 00054 00055 GuiTextView& GetTextView(); 00056 00057 private: 00058 Mint* fMint; 00059 PageDisplay* fPageDisplay; 00060 GuiTextView * fTextView; 00061 TGWindow* fMainWindow; // needed for print 00062 }; // end of class EventInfoPage 00063 00064 #endif // EVENTINFOPAGE_H
1.3.9.1