Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:11:47

0001 // @(#)root/ged:$Id$
0002 // Author: Ilka  Antcheva 08/03/05
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2002, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 #ifndef ROOT_TFrameEditor
0013 #define ROOT_TFrameEditor
0014 
0015 
0016 #include "TGedFrame.h"
0017 
0018 class TGRadioButton;
0019 class TGLineWidthComboBox;
0020 class TGLayoutHints;
0021 class TFrame;
0022 
0023 class TFrameEditor : public TGedFrame {
0024 
0025 protected:
0026    TFrame              *fFrame;
0027    TGRadioButton       *fBmode;            ///< set sinken frame border mode
0028    TGRadioButton       *fBmode0;           ///< set no border
0029    TGRadioButton       *fBmode1;           ///< set raised frame border mode
0030    TGLayoutHints       *fBmodelh;          ///< layout hints for border mode buttons
0031    TGLineWidthComboBox *fBsize;            ///< set frame border size
0032 
0033    virtual void ConnectSignals2Slots();
0034 
0035 public:
0036    TFrameEditor(const TGWindow *p = nullptr,
0037                 Int_t width = 140, Int_t height = 30,
0038                 UInt_t options = kChildFrame,
0039                 Pixel_t back = GetDefaultFrameBackground());
0040    ~TFrameEditor() override;
0041 
0042    void   SetModel(TObject* obj) override;
0043    virtual void   DoBorderMode();
0044    virtual void   DoBorderSize(Int_t size);
0045 
0046    ClassDefOverride(TFrameEditor,0)  //editor of TFrame objects
0047 };
0048 
0049 #endif