// @(#)root/eve:$Id$
// Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007

/*************************************************************************
 * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TEveElementEditor
#define ROOT_TEveElementEditor

#include "TGedFrame.h"

class TGCheckButton;
class TGNumberEntry;
class TGColorSelect;
class TGLabel;

class TEveElement;
class TEveTransSubEditor;

class TEveElementEditor : public TGedFrame
{
   TEveElementEditor(const TEveElementEditor&);            // Not implemented
   TEveElementEditor& operator=(const TEveElementEditor&); // Not implemented

protected:
   TEveElement         *fRE; // Model object.

   TGHorizontalFrame   *fHFrame;
   TGLabel             *fPreLabel;
   TGCheckButton       *fRnrSelf;
   TGCheckButton       *fRnrChildren;
   TGCheckButton       *fRnrState;
   TGColorSelect       *fMainColor;
   TGNumberEntry       *fTransparency;
   TEveTransSubEditor  *fTrans;

public:
   TEveElementEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
                     UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
   virtual ~TEveElementEditor() {}

   virtual void SetModel(TObject* obj);

   void DoRnrSelf();
   void DoRnrChildren();
   void DoRnrState();
   void DoMainColor(Pixel_t color);
   void DoTransparency();

   ClassDef(TEveElementEditor, 1); // Editor for TEveElement class.
};

#endif
 TEveElementEditor.h:1
 TEveElementEditor.h:2
 TEveElementEditor.h:3
 TEveElementEditor.h:4
 TEveElementEditor.h:5
 TEveElementEditor.h:6
 TEveElementEditor.h:7
 TEveElementEditor.h:8
 TEveElementEditor.h:9
 TEveElementEditor.h:10
 TEveElementEditor.h:11
 TEveElementEditor.h:12
 TEveElementEditor.h:13
 TEveElementEditor.h:14
 TEveElementEditor.h:15
 TEveElementEditor.h:16
 TEveElementEditor.h:17
 TEveElementEditor.h:18
 TEveElementEditor.h:19
 TEveElementEditor.h:20
 TEveElementEditor.h:21
 TEveElementEditor.h:22
 TEveElementEditor.h:23
 TEveElementEditor.h:24
 TEveElementEditor.h:25
 TEveElementEditor.h:26
 TEveElementEditor.h:27
 TEveElementEditor.h:28
 TEveElementEditor.h:29
 TEveElementEditor.h:30
 TEveElementEditor.h:31
 TEveElementEditor.h:32
 TEveElementEditor.h:33
 TEveElementEditor.h:34
 TEveElementEditor.h:35
 TEveElementEditor.h:36
 TEveElementEditor.h:37
 TEveElementEditor.h:38
 TEveElementEditor.h:39
 TEveElementEditor.h:40
 TEveElementEditor.h:41
 TEveElementEditor.h:42
 TEveElementEditor.h:43
 TEveElementEditor.h:44
 TEveElementEditor.h:45
 TEveElementEditor.h:46
 TEveElementEditor.h:47
 TEveElementEditor.h:48
 TEveElementEditor.h:49
 TEveElementEditor.h:50
 TEveElementEditor.h:51
 TEveElementEditor.h:52
 TEveElementEditor.h:53
 TEveElementEditor.h:54
 TEveElementEditor.h:55
 TEveElementEditor.h:56
 TEveElementEditor.h:57
 TEveElementEditor.h:58