CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/Fireworks/Core/interface/CmsShowHelpPopup.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 #ifndef Fireworks_Core_CmsShowHelpPopup_h
00003 #define Fireworks_Core_CmsShowHelpPopup_h
00004 //
00005 // Package:     Core
00006 // Class  :     CmsShowHelpPopup
00007 //
00016 //
00017 // Original Author:
00018 //         Created:  Fri Jun 27 11:23:31 EDT 2008
00019 // $Id: CmsShowHelpPopup.h,v 1.5 2009/05/20 16:33:39 amraktad Exp $
00020 //
00021 
00022 // system include files
00023 #include "GuiTypes.h"
00024 #include "TGFrame.h"
00025 #include <string>
00026 
00027 // forward declarations
00028 class TGHtml;
00029 
00030 class CmsShowHelpPopup : public TGTransientFrame {
00031 public:
00032    CmsShowHelpPopup (const std::string &filename,
00033                      const std::string &windowname, const TGWindow* p = 0,
00034                      UInt_t w = 1, UInt_t h = 1);
00035    virtual ~CmsShowHelpPopup();
00036    virtual void CloseWindow() { UnmapWindow(); }
00037 
00038    static std::string helpFileName (const std::string &);
00039 
00040 protected:
00041    TGHtml     *m_helpHtml;
00042 };
00043 
00044 
00045 #endif