00001 00002 // 00003 // $Id: GuiFrame.h,v 1.3 2002/11/14 20:10:37 bv Exp $ 00004 // 00005 // GuiFrame 00006 // 00007 // Package: MIDAD 00008 // 00009 // A proxy class for a TGCompositeFrame. This is used, for example, 00010 // by GuiTab to return something that can then be filled by more Gui* 00011 // objects. It does *not* own its frame, however, when it (this 00012 // class) is deleted, it will memory manage its children. This means 00013 // that anything creating/using this class should should memory manage 00014 // it in the usual way (ie, GuiTab should hold it in a Ptr<>). As 00015 // more of the TGCompositeFrame's interface is needed, more methods 00016 // will be added. 00017 // 00018 // Contact: bv@bnl.gov 00019 // 00020 // Created on: Mon Nov 12 14:27:37 2001 00021 // 00023 00024 #ifndef GUIFRAME_H 00025 #define GUIFRAME_H 00026 00027 #include <Midad/Gui/GuiBase.h> 00028 00029 class TGFrame; 00030 class TGCompositeFrame; 00031 00032 class GuiFrame : public GuiCompositeFrameBase 00033 { 00034 00035 public: 00036 00037 GuiFrame(TGCompositeFrame* tgc_frame); 00038 virtual ~GuiFrame(); 00039 00040 TGFrame* GetFrame(); 00041 00042 private: 00043 TGCompositeFrame* fFrame; 00044 00045 }; // end of class GuiFrame 00046 00047 #endif // GUIFRAME_H
1.3.9.1