#ifndef ROOT_TGMsgBox
#define ROOT_TGMsgBox
#ifndef ROOT_TGFrame
#include "TGFrame.h"
#endif
#ifndef ROOT_TGString
#include "TGString.h"
#endif
#ifndef ROOT_TGPicture
#include "TGPicture.h"
#endif
#ifndef ROOT_TGWidget
#include "TGWidget.h"
#endif
enum EMsgBoxIcon {
   kMBIconStop,
   kMBIconQuestion,
   kMBIconExclamation,
   kMBIconAsterisk
};
enum EMsgBoxButton {
   kMBYes     = BIT(0),
   kMBNo      = BIT(1),
   kMBOk      = BIT(2),
   kMBApply   = BIT(3),
   kMBRetry   = BIT(4),
   kMBIgnore  = BIT(5),
   kMBCancel  = BIT(6),
   kMBClose   = BIT(7),
   kMBDismiss = BIT(8),
   kMBYesAll  = BIT(9),
   kMBNoAll   = BIT(10),
   kMBAppend  = BIT(11),
   kMBNewer   = BIT(12)
};
class TGButton;
class TGIcon;
class TGLabel;
class TGMsgBox : public TGTransientFrame {
protected:
   TGButton            *fYes, *fNo, *fOK, *fApply;   
   TGButton            *fRetry, *fIgnore, *fCancel;  
   TGButton            *fClose, *fYesAll, *fNoAll;   
   TGButton            *fNewer, *fAppend, *fDismiss; 
   TGIcon              *fIcon;                       
   TGHorizontalFrame   *fButtonFrame;                
   TGHorizontalFrame   *fIconFrame;                  
   TGVerticalFrame     *fLabelFrame;                 
   TGLayoutHints       *fL1, *fL2, *fL3, *fL4, *fL5; 
   TList               *fMsgList;                    
   Int_t               *fRetCode;                    
   void PMsgBox(const char *title, const char *msg, const TGPicture *icon,
                Int_t buttons, Int_t *ret_code, Int_t text_align);
private:
   TGMsgBox(const TGMsgBox&);              
   TGMsgBox& operator=(const TGMsgBox&);   
public:
   TGMsgBox(const TGWindow *p = 0, const TGWindow *main = 0,
            const char *title = 0, const char *msg = 0, const TGPicture *icon = 0,
            Int_t buttons = kMBDismiss, Int_t *ret_code = 0,
            UInt_t options = kVerticalFrame,
            Int_t text_align = kTextCenterX | kTextCenterY);
   TGMsgBox(const TGWindow *p, const TGWindow *main,
            const char *title, const char *msg, EMsgBoxIcon icon,
            Int_t buttons = kMBDismiss, Int_t *ret_code = 0,
            UInt_t options = kVerticalFrame,
            Int_t text_align = kTextCenterX | kTextCenterY);
   virtual ~TGMsgBox();
   virtual void CloseWindow();
   virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
   ClassDef(TGMsgBox,0)  
};
#endif
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.