#if !defined HCONTOURMANAGER_H
#define HCONTOURMANAGER_H
#include "TGButton.h"
#include "TGTextEntry.h"
#include "TGTextBuffer.h"
#include "TGListBox.h"
enum ContManId {
M__C_HELP,
M__C_INIT,
M__C_UNDO,
M__C_SET,
M__C_CLEAR,
M__C_ADD,
M__C_REMOVE,
M__C_PREV,
M__C_NEXT,
M__C_LIST
};
class HContour;
class TH2F;
class HContourManager : public TGMainFrame {
protected:
TGCompositeFrame *fFrame;
TGCompositeFrame *fF1, *fF2;
TGCompositeFrame *fF10, *fF11, *fF12, *fF13, *fF14;
TGCompositeFrame *fF21, *fF22, *fF23;
TGButton *fPrev, *fNext;
TGButton *fAdd, *fRemove;
TGButton *fHelp, *fInit, *fUndo, *fSet, *fClear;
TGListBox *fList;
TGListBox *fInLB, *fOutLB;
TGTextEntry *fName;
TGTextBuffer *fNameBuf;
protected:
TGMainFrame *fWindow;
protected:
HContour *fContour;
Int_t countIn;
Int_t countOut;
public:
static Int_t countContour;
public:
HContourManager(const TGWindow *p, UInt_t w, UInt_t h, TGMainFrame *pp = 0);
virtual ~HContourManager();
virtual void CloseWindow() { delete this; }
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
void updateList();
void updateCountBoxes();
void clearContour();
void countHits(TH2F *hist, HContour *cont);
public:
ClassDef(HContourManager,0)
};
#endif
Last change: Sat May 22 12:54:09 2010
Last generated: 2010-05-22 12:54
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.