2 // Category: interfaces
5 //===============================================
7 //--------TG4Editor.h--------------------------//
8 //------- A service class for GUI--------------//
10 //==================================================
22 class TG4Editor : public TGTransientFrame {
25 TG4Editor(const TGWindow* main, UInt_t w, UInt_t h);
28 void LoadBuffer(const char* buffer);
29 void LoadFile(const char* file);
31 TGTextEdit* GetEditor() const { return fEdit; }
36 Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
39 TGTextEdit* fEdit; // text edit widget
40 TGTextButton* fOK; // OK button
41 TGLayoutHints* fL1; // layout of TGTextEdit
42 TGLayoutHints* fL2; // layout of OK button
44 TG4Editor(const TG4Editor& ge)
45 : TGTransientFrame( (const TGTransientFrame&) ge) {;}
46 TG4Editor& operator=(const TG4Editor& ge)
49 ClassDef(TG4Editor,0) // service Editor window for GUI