00001 // @(#)root/geombuilder:$Id: TGeoGedFrame.h 21425 2007-12-17 15:59:27Z brun $ 00002 // Author: Matevz Tadel 25/09/2006 00003 00004 #ifndef ROOT_TGeoGedFrame 00005 #define ROOT_TGeoGedFrame 00006 00007 ////////////////////////////////////////////////////////////////////////// 00008 // // 00009 // TGeoGedFrame // 00010 // // 00011 // Common base class for geombuilder editors. // 00012 // // 00013 ////////////////////////////////////////////////////////////////////////// 00014 00015 #ifndef ROOT_TGedFrame 00016 #include "TGedFrame.h" 00017 #endif 00018 00019 class TGTab; 00020 class TGeoTabManager; 00021 class TVirtualPad; 00022 00023 class TGeoGedFrame : public TGedFrame { 00024 00025 protected: 00026 TGTab *fTab; //tab of the ged-editor 00027 TGeoTabManager *fTabMgr; //tab manager corresponding to ged-editor 00028 TVirtualPad *fPad; //selected pad, if exists 00029 00030 public: 00031 TGeoGedFrame(const TGWindow *p = 0, 00032 Int_t width = 140, Int_t height = 30, 00033 UInt_t options = kChildFrame, 00034 Pixel_t back = GetDefaultFrameBackground()); 00035 00036 virtual void SetActive(Bool_t active = kTRUE); 00037 virtual void Update(); 00038 00039 ClassDef(TGeoGedFrame, 0) // Common base-class for geombuilder editors. 00040 }; 00041 00042 #endif