12 #ifndef ROOT_TStructNodeEditor
13 #define ROOT_TStructNodeEditor
19 class TStructNodeProperty;
26 class TStructNodeEditor :
public TGedFrame {
31 TGNumberEntry *fMaxObjectsNumberEntry;
32 TGNumberEntry *fMaxLevelsNumberEntry;
34 TGLabel *fNodeNameLabel;
35 TGTextEntry *fNameEntry;
36 TGColorSelect *fColorSelect;
37 TStructNodeProperty *fSelectedPropert;
38 TGTextButton *fDefaultButton;
39 TGTextButton *fApplyButton;
40 TGCheckButton *fAutoRefesh;
42 TStructNodeProperty* FindNodeProperty(TStructNode* node);
43 TStructNodeProperty* GetDefaultProperty();
47 TStructNodeEditor(TList* colors,
const TGWindow *p = 0, Int_t width = 140, Int_t height = 30,
48 UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground());
51 void ApplyButtonSlot();
52 void AutoRefreshButtonSlot(Bool_t on);
53 void ColorSelectedSlot(Pixel_t color);
54 void DefaultButtonSlot();
55 void MaxLevelsValueSetSlot(Long_t);
56 void MaxObjectsValueSetSlot(Long_t);
57 void SetModel(TObject* obj);
58 void Update(Bool_t resetCamera);
61 ClassDef(TStructNodeEditor, 0);
63 #endif // ROOT_TStructNodeEditor