CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch1/src/Fireworks/Core/src/FWBoxIconButton.h

Go to the documentation of this file.
00001 #ifndef Fireworks_Core_FWBoxIconButton_h
00002 #define Fireworks_Core_FWBoxIconButton_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     Core
00006 // Class  :     FWBoxIconButton
00007 // 
00016 //
00017 // Original Author:  Chris Jones
00018 //         Created:  Thu Feb 19 19:04:08 CST 2009
00019 // $Id: FWBoxIconButton.h,v 1.2 2009/04/09 21:14:52 chrjones Exp $
00020 //
00021 
00022 // system include files
00023 #include "TGButton.h"
00024 
00025 // user include files
00026 
00027 // forward declarations
00028 class FWBoxIconBase;
00029 
00030 class FWBoxIconButton : public TGButton {
00031 
00032 public:
00033    FWBoxIconButton(const TGWindow* iParent,
00034                    FWBoxIconBase* iBase,
00035                    Int_t iID=-1,
00036                    GContext_t norm = TGButton::GetDefaultGC() (),
00037                    UInt_t option=0);
00038    virtual ~FWBoxIconButton();
00039    
00040    // ---------- const member functions ---------------------
00041    
00042    // ---------- static member functions --------------------
00043    
00044    // ---------- member functions ---------------------------
00045    void setNormCG(GContext_t);
00046 protected:
00047    virtual void DoRedraw();
00048 private:
00049    FWBoxIconButton(const FWBoxIconButton&); // stop default
00050    
00051    const FWBoxIconButton& operator=(const FWBoxIconButton&); // stop default
00052    
00053    // ---------- member data --------------------------------
00054    FWBoxIconBase* m_iconBase;
00055 };
00056 
00057 
00058 #endif