2 // Author: Matevz Tadel 2007
4 /**************************************************************************
5 * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
6 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
7 * full copyright notice. *
8 **************************************************************************/
10 #ifndef AliEveMacroEditor_H
11 #define AliEveMacroEditor_H
13 #include "TGedFrame.h"
21 //______________________________________________________________________________
22 // Short description of AliEveMacroEditor
25 class AliEveMacroEditor : public TGedFrame
28 AliEveMacroEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
29 UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
30 virtual ~AliEveMacroEditor() {}
32 virtual void SetModel(TObject* obj);
34 void DoSources(Int_t v);
42 AliEveMacro *fM; // Model object.
49 TGCheckButton *fActive;
51 TGHorizontalFrame* MkHFrame(TGCompositeFrame* p=0);
52 TGLabel* MkLabel (TGCompositeFrame* p, const char* txt, Int_t width,
53 Int_t lo=0, Int_t ro=0, Int_t to=2, Int_t bo=0);
56 AliEveMacroEditor(const AliEveMacroEditor&); // Not implemented
57 AliEveMacroEditor& operator=(const AliEveMacroEditor&); // Not implemented
59 ClassDef(AliEveMacroEditor, 0); // GUI editor for AliEveMacro.