00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef SETTINGSDIALOG_H
00017 #define SETTINGSDIALOG_H
00018
00019 #ifndef ROOT_TGFrame
00020 #include "TGFrame.h"
00021 #endif
00022
00023 #ifndef ROOT_TGButton
00024 #include "TGButton.h"
00025 #endif
00026
00027 #ifndef ROOT_TGTextEntry
00028 #include "TGTextEntry.h"
00029 #endif
00030
00031 #ifndef ROOT_TGListBox
00032 #include <TGListBox.h>
00033 #endif
00034
00035 #ifndef ROOT_TGTab
00036 #include <TGTab.h>
00037 #endif
00038
00039 class SettingsDialog : public TGTransientFrame {
00040
00041 private:
00042 TGCompositeFrame *fFrame1;
00043 TGGroupFrame *fF1, *fF3, *fF4;
00044 TGButton *fOkButton, *fCancelButton, *fHelpButton;
00045 TGCheckButton *fCheck1;
00046 TGListBox *fListBox;
00047 TGTab *fTab;
00048 TGTextEntry *fTxt4, *fTxt5;
00049 TGLayoutHints *fL1, *fL2, *fL3;
00050 Int_t fFirstEntry;
00051 Int_t fLastEntry;
00052
00053 public:
00054 SettingsDialog(const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h,
00055 UInt_t options = kVerticalFrame);
00056 virtual ~SettingsDialog();
00057
00058
00059 virtual void CloseWindow();
00060 virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
00061 };
00062
00063 #endif