00001 // Author: Bertrand Bellenot 22/08/02 00002 00003 /************************************************************************* 00004 * Copyright (C) 1995-2002, Bertrand Bellenot. * 00005 * All rights reserved. * 00006 * * 00007 * For the licensing terms see the LICENSE file. * 00008 *************************************************************************/ 00009 00010 ////////////////////////////////////////////////////////////////////////// 00011 // // 00012 // Definition of the "About" message box for the RootShower application // 00013 // // 00014 ////////////////////////////////////////////////////////////////////////// 00015 00016 #ifndef ROOTSHOWERABOUT_H 00017 #define ROOTSHOWERABOUT_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_TGPicture 00028 #include "TGPicture.h" 00029 #endif 00030 00031 #ifndef ROOT_TGIcon 00032 #include "TGIcon.h" 00033 #endif 00034 00035 #ifndef ROOT_TGLabel 00036 #include "TGLabel.h" 00037 #endif 00038 00039 00040 class RootShowerAbout : public TGTransientFrame { 00041 00042 private: 00043 TGVerticalFrame* fVFrame; 00044 TGHorizontalFrame* fHFrame; 00045 TGTextButton* fOkButton; 00046 TGLabel* fLabel1; 00047 TGLabel* fLabel2; 00048 TGLabel* fLabel4; 00049 00050 TGLayoutHints *fLogoLayout; 00051 00052 TGLayoutHints* fL1; 00053 TGLayoutHints* fL2; 00054 00055 TGLayoutHints* fBly; 00056 TGLayoutHints* fBfly; 00057 00058 public: 00059 RootShowerAbout(const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h, 00060 UInt_t options = kMainFrame | kVerticalFrame); 00061 virtual ~RootShowerAbout(); 00062 00063 virtual void CloseWindow(); 00064 virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2); 00065 }; 00066 00067 #endif // ROOTSHOWERABOUT_H