File indexing completed on 2024-04-06 11:57:54
0001 #ifndef MELeafPanel_hh
0002 #define MELeafPanel_hh
0003
0004 #include <TGFrame.h>
0005 #include <TGButton.h>
0006 #include <TGListBox.h>
0007
0008 #include <vector>
0009
0010 class MusEcalGUI;
0011
0012 class MELeafPanel {
0013
0014 private:
0015
0016 TGTransientFrame *fMain;
0017
0018 TGVerticalFrame *fVframe1;
0019 TGHorizontalFrame *fHframe1;
0020 TGHorizontalFrame *fHframe2;
0021
0022 TGListBox* fVarBox;
0023 TGListBox* fZoomBox;
0024 TGTextButton* fPlotButton;
0025 TGTextButton* fDiffPlotButton;
0026 TGTextButton* fOneLevelUpButton;
0027
0028 TGLayoutHints* fHint1;
0029 TGLayoutHints* fHint2;
0030 TGLayoutHints* fHint3;
0031 TGLayoutHints* fHint4;
0032 TGLayoutHints* fHint5;
0033
0034 MusEcalGUI* _gui;
0035
0036 int _type;
0037 int _color;
0038 int _var;
0039 int _zoom;
0040
0041 public:
0042
0043 MELeafPanel( const TGWindow *p, MusEcalGUI* main, UInt_t w, UInt_t h );
0044 virtual ~MELeafPanel();
0045
0046
0047 void CloseWindow();
0048 void DoClose();
0049 void DoPlot();
0050 void DoDiffPlot();
0051 void DoOneLevelUp();
0052 void SetVar(int);
0053 void SetZoom(int);
0054
0055 ClassDef(MELeafPanel,0)
0056
0057 };
0058
0059 #endif