#ifndef AliEveMacroEditor_H
#define AliEveMacroEditor_H
#include "TGedFrame.h"
class AliEveMacro;
class TGCheckButton;
class TGTextEntry;
class TGComboBox;
class AliEveMacroEditor : public TGedFrame
{
public:
AliEveMacroEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
virtual ~AliEveMacroEditor() {}
virtual void SetModel(TObject* obj);
void DoSources(Int_t v);
void DoTags();
void DoMacro();
void DoFunc();
void DoArgs();
void DoActive();
protected:
AliEveMacro *fM;
TGComboBox *fSources;
TGTextEntry *fTags;
TGTextEntry *fMacro;
TGTextEntry *fFunc;
TGTextEntry *fArgs;
TGCheckButton *fActive;
TGHorizontalFrame* MkHFrame(TGCompositeFrame* p=0);
TGLabel* MkLabel (TGCompositeFrame* p, const char* txt, Int_t width,
Int_t lo=0, Int_t ro=0, Int_t to=2, Int_t bo=0);
private:
AliEveMacroEditor(const AliEveMacroEditor&);
AliEveMacroEditor& operator=(const AliEveMacroEditor&);
ClassDef(AliEveMacroEditor, 0);
};
#endif