Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:11:36

0001 #ifndef Fireworks_Core_FWBoxIconButton_h
0002 #define Fireworks_Core_FWBoxIconButton_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     Core
0006 // Class  :     FWBoxIconButton
0007 //
0008 /**\class FWBoxIconButton FWBoxIconButton.h Fireworks/Core/interface/FWBoxIconButton.h
0009 
0010  Description: <one line class summary>
0011 
0012  Usage:
0013     <usage>
0014 
0015 */
0016 //
0017 // Original Author:  Chris Jones
0018 //         Created:  Thu Feb 19 19:04:08 CST 2009
0019 //
0020 
0021 // system include files
0022 #include "TGButton.h"
0023 
0024 // user include files
0025 
0026 // forward declarations
0027 class FWBoxIconBase;
0028 
0029 class FWBoxIconButton : public TGButton {
0030 public:
0031   FWBoxIconButton(const TGWindow* iParent,
0032                   FWBoxIconBase* iBase,
0033                   Int_t iID = -1,
0034                   GContext_t norm = TGButton::GetDefaultGC()(),
0035                   UInt_t option = 0);
0036   ~FWBoxIconButton() override;
0037 
0038   // ---------- const member functions ---------------------
0039 
0040   // ---------- static member functions --------------------
0041 
0042   // ---------- member functions ---------------------------
0043   void setNormCG(GContext_t);
0044 
0045 protected:
0046   void DoRedraw() override;
0047 
0048 public:
0049   FWBoxIconButton(const FWBoxIconButton&) = delete;  // stop default
0050 
0051   const FWBoxIconButton& operator=(const FWBoxIconButton&) = delete;  // stop default
0052 
0053 private:
0054   // ---------- member data --------------------------------
0055   FWBoxIconBase* m_iconBase;
0056 };
0057 
0058 #endif