/* * AnalysisMainFrame.hh * * Created on: Apr 21, 2015 * Author: Hovanes Egiyan */ #ifndef ANALYSISMAINFRAME_HH_ #define ANALYSISMAINFRAME_HH_ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "LogableMainFrame.hh" #include "ScanPlot.hh" #include "AnalysisFrame.hh" using namespace std; class AnalysisMainFrame : public LogableMainFrame { protected: AnalysisFrame* amfAnaFrame; // Frame for plot TGHorizontalFrame* amfPlotFrame; // Frame for the plots TGHorizontalFrame* amfButtonFrame; // Frame for the buttons const ScanPlot* amfPlot; // Plot to be shown TGTextButton* amfLogButton; // Log button pointer TGTextButton* amfCloseButton; // Close button pointer // // Protected methods // AnalysisMainFrame() {;} // AnalysisMainFrame( const AnalysisMainFrame& frame ){;} public: AnalysisMainFrame(const TGWindow *p, const char* name, UInt_t width, UInt_t height, const ScanPlot* plot); virtual ~AnalysisMainFrame(); virtual void DrawFrame(); inline TGHorizontalFrame* GetButtonFrame() { return amfButtonFrame; } inline const ScanPlot* GetScanPlot() { return amfPlot;} ClassDef(AnalysisMainFrame,0) }; #endif /* ANALYSISMAINFRAME_HH_ */