Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > 8c86774a3e53d77cc119f53a2b94a57a > files > 69

root-tutorial-5.34.14-2.fc18.noarch.rpm

// Author: Bertrand Bellenot   22/08/02

/*************************************************************************
 * Copyright (C) 1995-2002, Bertrand Bellenot.                           *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see the LICENSE file.                         *
 *************************************************************************/

//////////////////////////////////////////////////////////////////////////
//                                                                      //
// Definition of a simple message box for the RootShower application    //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

#ifndef ROOTSHOWERMSGBOX_H
#define ROOTSHOWERMSGBOX_H

#ifndef ROOT_TGFrame
#include "TGFrame.h"
#endif

#ifndef ROOT_TGButton
#include "TGButton.h"
#endif

#ifndef ROOT_TGPicture
#include "TGPicture.h"
#endif

#ifndef ROOT_TGIcon
#include "TGIcon.h"
#endif

#ifndef ROOT_TGLabel
#include "TGLabel.h"
#endif


class RootShowerMsgBox : public TGTransientFrame {

private:
    TGVerticalFrame*    fVFrame; 
    TGHorizontalFrame*  fHFrame; 
    TGTextButton*       fCancelButton;
    TGTextButton*       fHelpButton;
    TGTextButton*       fOkButton;
    TGLabel*            fLabel1;
    TGLabel*            fLabel2;
   
    TGLayoutHints      *fLogoLayout;
  
    TGLayoutHints*      fL1;
    TGLayoutHints*      fL2;
  
    TGLayoutHints*      fBly;
    TGLayoutHints*      fBfly;

public:
    RootShowerMsgBox(const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h,
                    UInt_t options = kMainFrame | kVerticalFrame);
    virtual ~RootShowerMsgBox();

    virtual void CloseWindow();
    virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
};

#endif // ROOTSHOWERMSGBOX_H