00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034 #ifndef TGTextDialog_H
00035 #define TGTextDialog_H
00036
00037 #include <TGButton.h>
00038 #include <TRootEmbeddedCanvas.h>
00039 #include <TGLayout.h>
00040 #include <TH2.h>
00041 #include <TCanvas.h>
00042 #include <TSocket.h>
00043 #include <TMessage.h>
00044 #include <TGMsgBox.h>
00045 #include <TApplication.h>
00046 #include <TROOT.h>
00047 #include <TGListBox.h>
00048 #include <TString.h>
00049 #include <TObjArray.h>
00050 #include <TObjString.h>
00051 #include <TGMenu.h>
00052 #include <TGTab.h>
00053 #include <TGLabel.h>
00054 #include <TGTextEntry.h>
00055
00056 #ifndef ROOT_TGFrame
00057 #include <TGFrame.h>
00058 #endif
00059
00060 class TGTextDialog : public TGTransientFrame
00061 {
00062 protected:
00063 TGCompositeFrame *fF1, *fF2;
00064 TGButton *fOkButton;
00065 TGButton *fCancelButton;
00066 TGLayoutHints *fL1, *fL5, *fL6, *fL21;
00067 TGTextEntry *fText;
00068 TGTextBuffer *fBLabel;
00069 TGLabel *fLabel;
00070 TObjString *fRetObjStr;
00071
00072 public:
00073 TGTextDialog( TGWindow const *, TGWindow const *, UInt_t, UInt_t,
00074 char *, char const *, TObjString *, UInt_t =kVerticalFrame );
00075 virtual ~TGTextDialog();
00076
00077 virtual void CloseWindow();
00078 virtual Bool_t ProcessMessage( Long_t, Long_t, Long_t );
00079
00080 ClassDef(TGTextDialog, 1)
00081 };
00082 #endif
00083