ROOT logo
#ifndef INSERTTEXTDIALOG
#define INSERTTEXTDIALOG
#include "TObject.h"
#include "TString.h"
#include "TGMrbValuesAndText.h"
#include "GrCanvas.h"
//_____________________________________________________________________________________


class InsertTextDialog : public TObject {

private:
   void *fValp[100];
   TList *fRow_lab;
   TGMrbValuesAndText *fDialog;
   TCanvas        *fCanvas;
	TPad           * fPad;
   TObject        *fCaller;
   TString        *fEditTextPointer;
   TString        fEditTextFileName;
   Int_t          fEditTextFromFile;
   Double_t       fEditTextRadius;
   Double_t       fEditTextStartAngle;
   Double_t       fEditTextX0;
   Double_t       fEditTextY0;
   Double_t       fEditTextDy;
   Double_t       fEditTextCharSep;
   Size_t         fEditTextSize;
   Float_t        fEditTextAngle;
   Short_t        fEditTextAlign;
   Color_t        fEditTextColor;
   Font_t         fEditTextFont;
   Int_t          fEditTextPrec;
   Int_t          fEditTextMarkCompound;
   Int_t          fEditTextLatexFilter;
   Int_t          fEditTextSeqNr;
public:
   InsertTextDialog(Bool_t from_file = kFALSE, TObject *caller = NULL);
   virtual ~InsertTextDialog();
   void InsertTextExecute(Int_t onarc = 0);
   void InsertTextOnArc();
   TString        *GetTextPointer() { return fEditTextPointer; } ;
   Size_t GetEditTextSize() { return fEditTextSize; };
   Float_t GetEditTextAngle() { return fEditTextAngle; };
   Short_t GetEditTextAlign() { return fEditTextAlign; };
   Color_t GetEditTextColor() { return fEditTextColor; };
   Font_t GetEditTextFont() { return fEditTextFont; };
   Int_t GetEditTextPrec()  { return fEditTextPrec; };
   Double_t GetEditTextX0() { return fEditTextX0; };
   Double_t GetEditTextY0() { return fEditTextY0; };

	void    ObjCreated(Int_t /*px*/, Int_t /*py*/, TObject *obj) {fPad = (TPad*)obj;};
	void    ObjMoved(Int_t /*px*/, Int_t /*py*/, TObject */*obj*/) { };
   void SaveDefaults();
   void RestoreDefaults();
   void Show_Head_of_File();
   void    RecursiveRemove(TObject * obj);
   void    CloseDialog();
   void CloseDown(Int_t wid);
   void CRButtonPressed(Int_t /*wid*/, Int_t /*bid*/, TObject */*obj*/) {};

ClassDef(InsertTextDialog,0)
};
#endif
 InsertTextDialog.h:1
 InsertTextDialog.h:2
 InsertTextDialog.h:3
 InsertTextDialog.h:4
 InsertTextDialog.h:5
 InsertTextDialog.h:6
 InsertTextDialog.h:7
 InsertTextDialog.h:8
 InsertTextDialog.h:9
 InsertTextDialog.h:10
 InsertTextDialog.h:11
 InsertTextDialog.h:12
 InsertTextDialog.h:13
 InsertTextDialog.h:14
 InsertTextDialog.h:15
 InsertTextDialog.h:16
 InsertTextDialog.h:17
 InsertTextDialog.h:18
 InsertTextDialog.h:19
 InsertTextDialog.h:20
 InsertTextDialog.h:21
 InsertTextDialog.h:22
 InsertTextDialog.h:23
 InsertTextDialog.h:24
 InsertTextDialog.h:25
 InsertTextDialog.h:26
 InsertTextDialog.h:27
 InsertTextDialog.h:28
 InsertTextDialog.h:29
 InsertTextDialog.h:30
 InsertTextDialog.h:31
 InsertTextDialog.h:32
 InsertTextDialog.h:33
 InsertTextDialog.h:34
 InsertTextDialog.h:35
 InsertTextDialog.h:36
 InsertTextDialog.h:37
 InsertTextDialog.h:38
 InsertTextDialog.h:39
 InsertTextDialog.h:40
 InsertTextDialog.h:41
 InsertTextDialog.h:42
 InsertTextDialog.h:43
 InsertTextDialog.h:44
 InsertTextDialog.h:45
 InsertTextDialog.h:46
 InsertTextDialog.h:47
 InsertTextDialog.h:48
 InsertTextDialog.h:49
 InsertTextDialog.h:50
 InsertTextDialog.h:51
 InsertTextDialog.h:52
 InsertTextDialog.h:53
 InsertTextDialog.h:54
 InsertTextDialog.h:55
 InsertTextDialog.h:56
 InsertTextDialog.h:57
 InsertTextDialog.h:58
 InsertTextDialog.h:59
 InsertTextDialog.h:60
 InsertTextDialog.h:61
 InsertTextDialog.h:62
 InsertTextDialog.h:63
 InsertTextDialog.h:64