#if !defined HPREFERENCES_H
#define HPREFERENCES_H
#include "TGTab.h"
#include "TGComboBox.h"
#include "TGButton.h"
enum PrefComId {
M_PREF_CLOSE = 100,
M_PREF_APPLY,
M_PREF_SET,
M_PREF_MENUBAR,
M_PREF_NOMENUBAR,
M_PREF_COLOR,
M_PREF_WIDTH,
M_PREF_HEIGHT,
M_PREF_MEM
};
class HPreferences : public TGMainFrame {
protected:
TGCompositeFrame *fFrame;
TGTab *fTab;
TGCompositeFrame *fMemFrame;
TGCompositeFrame *fCanvFrame;
TGComboBox *fMemCB;
TGComboBox *fCanvColorCB;
TGComboBox *fCanvWidthCB, *fCanvHeightCB;
TGRadioButton *fMenuBarRB, *fNoMenuBarRB;
TGButton *fClose, *fApply, *fSet;
TGCompositeFrame *fF1, *fF2, *fF3;
TGCompositeFrame *fF0, *fF00;
protected:
TGMainFrame *fParent;
public:
static Int_t countPref;
public:
HPreferences(const TGWindow *p, UInt_t w, UInt_t h, TGMainFrame *p2 = 0);
virtual ~HPreferences();
virtual void CloseWindow();
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
void readPref();
void setPref();
void applyPref();
public:
ClassDef(HPreferences,0)
};
#endif
Last change: Sat May 22 13:07:40 2010
Last generated: 2010-05-22 13:07
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.