ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 #ifndef ROOT_TGedFrame
16 #include "TGedFrame.h"
17 #endif
18 
19 class TGTab;
20 class TGeoTabManager;
21 class TVirtualPad;
22 
23 class TGeoGedFrame : public TGedFrame {
24 
25 protected:
26  TGTab *fTab; //tab of the ged-editor
27  TGeoTabManager *fTabMgr; //tab manager corresponding to ged-editor
28  TVirtualPad *fPad; //selected pad, if exists
29 
30 public:
31  TGeoGedFrame(const TGWindow *p = 0,
32  Int_t width = 140, Int_t height = 30,
33  UInt_t options = kChildFrame,
35 
36  virtual void SetActive(Bool_t active = kTRUE);
37  virtual void Update();
38 
39  ClassDef(TGeoGedFrame, 0) // Common base-class for geombuilder editors.
40 };
41 
42 #endif
Definition: TGTab.h:66
int Int_t
Definition: RtypesCore.h:41
bool Bool_t
Definition: RtypesCore.h:59
ULong_t Pixel_t
Definition: GuiTypes.h:41
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:59
ClassDef(TGedFrame, 0)
TGeoGedFrame(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
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:28
const Bool_t kTRUE
Definition: Rtypes.h:91
TGTab * fTab
Definition: TGeoGedFrame.h:26
TGeoTabManager * fTabMgr
Definition: TGeoGedFrame.h:27