#ifndef ROOT_HprElementEditor
#define ROOT_HprElementEditor
#ifndef ROOT_TGButton
#include "TGWidget.h"
#endif
#ifndef ROOT_TGedFrame
#include "TGedFrame.h"
#endif
class TGNumberEntry;
class HprElement;
class HprElementEditor : public TGedFrame {
protected:
HprElement *fHprElement;
TGNumberEntry *fPlaneEntry;
TGNumberEntry *fVisEntry;
virtual void ConnectSignals2Slots();
public:
#if ROOT_VERSION_CODE >= ROOT_VERSION(5,13,4)
HprElementEditor(const TGWindow *p = 0,
#else
HprElementEditor(const TGWindow *p, Int_t id,
#endif
Int_t width = 140, Int_t height = 30,
UInt_t options = kChildFrame,
Pixel_t back = GetDefaultFrameBackground());
virtual ~HprElementEditor();
virtual void DoSetPlane();
virtual void DoSetVisibility();
#if ROOT_VERSION_CODE >= ROOT_VERSION(5,13,4)
virtual void SetModel(TObject *obj);
void ActivateBaseClassEditors(TClass* cl);
#else
virtual void SetModel(TVirtualPad *pad, TObject *obj, Int_t event);
#endif
ClassDef(HprElementEditor,0)
};
#endif