// @(#)root/ged:$Id$
// Author: Ilka  Antcheva 08/03/05

/*************************************************************************
 * Copyright (C) 1995-2002, 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_TFrameEditor
#define ROOT_TFrameEditor

//////////////////////////////////////////////////////////////////////////
//                                                                      //
//  TFrameEditor                                                        //
//                                                                      //
//  Editor of frame objects.                                            //
//                                                                      //
//  Frame border can be set to sunken, raised or no border.             //
//  Border size can be set for sunken or rized frames (1-15 pixels).    //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

#ifndef ROOT_TGedFrame
#include "TGedFrame.h"
#endif

class TGRadioButton;
class TGLineWidthComboBox;
class TGLayoutHints;
class TFrame;

class TFrameEditor : public TGedFrame {

protected:
   TFrame              *fFrame;
   TGRadioButton       *fBmode;            // set sinken frame border mode
   TGRadioButton       *fBmode0;           // set no border
   TGRadioButton       *fBmode1;           // set raised frame border mode
   TGLayoutHints       *fBmodelh;          // layout hints for border mode buttons
   TGLineWidthComboBox *fBsize;            // set frame border size

   virtual void ConnectSignals2Slots();

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

   virtual void   SetModel(TObject* obj);
   virtual void   DoBorderMode();
   virtual void   DoBorderSize(Int_t size);

   ClassDef(TFrameEditor,0)  //editor of TFrame objects
};

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