// ESAF : Euso Simulation and Analysis Framework // $Id: OAPxViewer.hh,v 1.2 2004/06/16 13:35:17 thea Exp $ // A.Thea created Apr, 21 2004 #ifndef __OAPXVIEWER_HH_ #define __OAPXVIEWER_HH_ #include "TGFrame.h" #include "TGStatusBar.h" #include "TRootEmbeddedCanvas.h" #include "TGMenu.h" #include "OAPxPlayer.hh" class TGTextView; class OAPxViewer : public TGMainFrame { public: // ctor OAPxViewer( OAPxPlayer* ); // dtor virtual ~OAPxViewer(); // test void DoAppend(); private: virtual void CloseWindow(); OAPxPlayer *fPlayer; TGTextView *fTextStats; TGStatusBar *fStatusBar; TRootEmbeddedCanvas *fECanvas; TGMenuBar *fMenuBar; TGCompositeFrame *fPanelFrame; TGPopupMenu *fMenuFile; TGLayoutHints *fMenuBarLayout; TGLayoutHints *fMenuBarItemLayout; TGGroupFrame *fButtonGroupFrame; TGLayoutHints* fL1; TGLayoutHints* fL2; TGLayoutHints* fL3; TGLayoutHints* fL4; TGLayoutHints* fL5; TGLayoutHints* fL6; void MakeMenuBar(); void MakeStatusBar(); void MakeTextStats(); void MakePanel(); void MakeButtons(); ClassDef(OAPxViewer,1) }; #endif /* __OAPXVIEWER_HH_ */