#ifndef ROOT_TGedFrame
#define ROOT_TGedFrame
#ifndef ROOT_TGButton
#include "TGWidget.h"
#endif
#ifndef ROOT_TGFrame
#include "TGFrame.h"
#endif
class TVirtualPad;
class TCanvas;
class TGLabel;
class TList;
class TGTab;
class TGedFrame : public TGCompositeFrame, public TGWidget {
protected:
TObject *fModel;
TVirtualPad *fPad;
Bool_t fInit;
Bool_t fAvoidSignal;
TGTab *fTab;
TGedFrame(const TGedFrame&);
TGedFrame& operator=(const TGedFrame&);
virtual void MakeTitle(const char *title);
public:
TGedFrame(const TGWindow *p, Int_t id,
Int_t width = 140, Int_t height = 30,
UInt_t options = kChildFrame,
Pixel_t back = GetDefaultFrameBackground());
virtual ~TGedFrame();
TObject *GetModel() const { return fModel;}
TVirtualPad *GetPad() const { return fPad;}
virtual Option_t *GetDrawOption() const;
virtual void RecursiveRemove(TObject *obj);
virtual void Refresh();
virtual void SetActive(Bool_t active = kTRUE);
virtual void SetDrawOption(Option_t *option="");
virtual void SetModel(TVirtualPad *pad, TObject *obj, Int_t event) = 0;
virtual void Update();
ClassDef(TGedFrame, 0);
};
class TGedElement : public TObject {
protected:
TGedElement(const TGedElement& ge)
: TObject(ge), fGedFrame(ge.fGedFrame), fCanvas(ge.fCanvas) { }
TGedElement& operator=(const TGedElement& ge)
{if(this!=&ge) {TObject::operator=(ge); fGedFrame=ge.fGedFrame;
fCanvas=ge.fCanvas;} return *this;}
public:
TGedElement(): fGedFrame(0), fCanvas(0) { }
TGedFrame *fGedFrame;
TObject *fCanvas;
ClassDef(TGedElement, 0);
};
class TGedNameFrame : public TGedFrame {
protected:
TGLabel *fLabel;
TGCompositeFrame *f1, *f2;
TGedNameFrame(const TGedNameFrame&);
TGedNameFrame& operator=(const TGedNameFrame&);
public:
TGedNameFrame(const TGWindow *p, Int_t id,
Int_t width = 140, Int_t height = 30,
UInt_t options = kChildFrame,
Pixel_t back = GetDefaultFrameBackground());
virtual ~TGedNameFrame();
virtual void SetModel(TVirtualPad *pad, TObject *obj, Int_t event);
ClassDef(TGedNameFrame,0)
};
#endif
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.