#ifndef ROOT_TGTextEditDialogs
#define ROOT_TGTextEditDialogs
#ifndef ROOT_TGFrame
#include "TGFrame.h"
#endif
class TGSearchType {
public:
Bool_t fDirection;
Bool_t fCaseSensitive;
char *fBuffer;
Bool_t fClose;
TGSearchType() { fDirection = kTRUE; fCaseSensitive = kFALSE; fBuffer = 0; fClose = kTRUE; }
};
class TGButton;
class TGRadioButton;
class TGCheckButton;
class TGTextEntry;
class TGTextBuffer;
class TGLabel;
class TGIcon;
class TGComboBox;
class TGSearchDialog : public TGTransientFrame {
protected:
TGCompositeFrame *fF1, *fF2, *fF3, *fF4;
TGLayoutHints *fL1, *fL2, *fL3, *fL4;
TGLayoutHints *fL5, *fL6, *fL21, *fL9;
TGLayoutHints *fL10;
TGButton *fSearchButton;
TGButton *fCancelButton;
TGRadioButton *fDirectionRadio[2];
TGCheckButton *fCaseCheck;
TGGroupFrame *fG2;
TGTextEntry *fSearch;
TGTextBuffer *fBSearch;
TGLabel *fLSearch;
TGSearchType *fType;
Int_t *fRetCode;
TGComboBox *fCombo;
static TGSearchDialog *fgSearchDialog;
public:
TGSearchDialog(const TGWindow *p = 0, const TGWindow *main = 0, UInt_t w = 1, UInt_t h = 1,
TGSearchType *sstruct = 0, Int_t *ret_code = 0,
UInt_t options = kVerticalFrame);
virtual ~TGSearchDialog();
virtual void CloseWindow();
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
virtual void SetClose(Bool_t on) { fType->fClose = on; }
virtual Bool_t IsClose() const { return fType->fClose; }
virtual void TextEntered(const char *text);
virtual TGSearchType *GetType() const { return fType; }
static TGSearchDialog *&SearchDialog();
ClassDef(TGSearchDialog,0)
};
class TGPrintDialog : public TGTransientFrame {
protected:
char **fPrinter;
char **fPrintCommand;
TGCompositeFrame *fF1, *fF2, *fF3, *fF4, *fF5;
TGLayoutHints *fL1, *fL2, *fL3, *fL5, *fL6;
TGLayoutHints *fL7, *fL21;
TGIcon *fPrinterIcon;
TGButton *fPrintButton;
TGButton *fCancelButton;
TGTextEntry *fPrinterEntry;
TGTextEntry *fPrintCommandEntry;
TGTextBuffer *fBPrinter, *fBPrintCommand;
TGLabel *fLPrinter, *fLPrintCommand;
Int_t *fRetCode;
public:
TGPrintDialog(const TGWindow *p = 0, const TGWindow *main = 0, UInt_t w = 1, UInt_t h = 1,
char **printerName = 0, char **printProg = 0, Int_t *ret_code = 0,
UInt_t options = kVerticalFrame);
virtual ~TGPrintDialog();
virtual void CloseWindow();
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
ClassDef(TGPrintDialog,0)
};
class TGGotoDialog : public TGTransientFrame {
protected:
TGCompositeFrame *fF1, *fF2;
TGButton *fGotoButton;
TGButton *fCancelButton;
TGLayoutHints *fL1, *fL5, *fL6, *fL21;
TGTextEntry *fGoTo;
TGTextBuffer *fBGoTo;
TGLabel *fLGoTo;
Long_t *fRetCode;
public:
TGGotoDialog(const TGWindow *p = 0, const TGWindow *main = 0, UInt_t w = 1, UInt_t h = 1,
Long_t *ret_code = 0, UInt_t options = kVerticalFrame);
virtual ~TGGotoDialog();
virtual void CloseWindow();
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
ClassDef(TGGotoDialog,0)
};
#endif
Last change: Wed Jun 25 08:42:26 2008
Last generated: 2008-06-25 08:42
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.