Logo ROOT   6.10/09
Reference Guide
TGeoGedFrame.h
Go to the documentation of this file.
1 // @(#)root/geombuilder:$Id$
2 // Author: Matevz Tadel 25/09/2006
3 
4 #ifndef ROOT_TGeoGedFrame
5 #define ROOT_TGeoGedFrame
6 
7 //////////////////////////////////////////////////////////////////////////
8 // //
9 // TGeoGedFrame //
10 // //
11 // Common base class for geombuilder editors. //
12 // //
13 //////////////////////////////////////////////////////////////////////////
14 
15 #include "TGedFrame.h"
16 
17 class TGTab;
18 class TGeoTabManager;
19 class TVirtualPad;
20 
21 class TGeoGedFrame : public TGedFrame {
22 
23 protected:
24  TGTab *fTab; //tab of the ged-editor
25  TGeoTabManager *fTabMgr; //tab manager corresponding to ged-editor
26  TVirtualPad *fPad; //selected pad, if exists
27 
28 public:
29  TGeoGedFrame(const TGWindow *p = 0,
30  Int_t width = 140, Int_t height = 30,
31  UInt_t options = kChildFrame,
33 
34  virtual void SetActive(Bool_t active = kTRUE);
35  virtual void Update();
36 
37  ClassDef(TGeoGedFrame, 0) // Common base-class for geombuilder editors.
38 };
39 
40 #endif
Definition: TGTab.h:62
int Int_t
Definition: RtypesCore.h:41
bool Bool_t
Definition: RtypesCore.h:59
#define ClassDef(name, id)
Definition: Rtypes.h:297
ULong_t Pixel_t
Definition: GuiTypes.h:39
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition: TGFrame.cxx:665
virtual void SetActive(Bool_t active=kTRUE)
Set active GUI attribute frames related to the selected object.
TVirtualPad is an abstract base class for the Pad and Canvas classes.
Definition: TVirtualPad.h:49
TGeoGedFrame(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Constructor.
unsigned int UInt_t
Definition: RtypesCore.h:42
virtual void Update()
Override Update from TGedFrame as fGedEditor can be null.
TVirtualPad * fPad
Definition: TGeoGedFrame.h:26
const Bool_t kTRUE
Definition: RtypesCore.h:91
TGTab * fTab
Definition: TGeoGedFrame.h:24
TGeoTabManager * fTabMgr
Definition: TGeoGedFrame.h:25