// @(#)root/eve:$Id$
// Author: Matevz Tadel 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_TEveShapeEditor
#define ROOT_TEveShapeEditor

#include "TGedFrame.h"

class TGButton;
class TGCheckButton;
class TGNumberEntry;
class TGColorSelect;

class TEveShape;

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

protected:
   TEveShape        *fM; // Model object.

   TGNumberEntry    *fLineWidth;  // Line width widget.
   TGColorSelect    *fLineColor;  // Line color widget.
   TGCheckButton    *fDrawFrame;       // Checkbox for frame rendering.
   TGCheckButton    *fHighlightFrame;  // Checkbox for frame rendering.

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

   virtual void SetModel(TObject* obj);

   void DoLineWidth();
   void DoLineColor(Pixel_t color);
   void DoDrawFrame();
   void DoHighlightFrame();

   ClassDef(TEveShapeEditor, 0); // GUI editor for TEveShape.
};

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