CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/Fireworks/Core/src/FWColorBoxIcon.h

Go to the documentation of this file.
00001 #ifndef Fireworks_Core_FWColorBoxIcon_h
00002 #define Fireworks_Core_FWColorBoxIcon_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     Core
00006 // Class  :     FWColorBoxIcon
00007 // 
00016 //
00017 // Original Author:  Chris Jones
00018 //         Created:  Thu Feb 19 15:42:03 CST 2009
00019 // $Id: FWColorBoxIcon.h,v 1.1 2009/03/04 16:40:50 chrjones Exp $
00020 //
00021 
00022 // system include files
00023 
00024 // user include files
00025 #include "Fireworks/Core/src/FWBoxIconBase.h"
00026 
00027 // forward declarations
00028 
00029 class FWColorBoxIcon : public FWBoxIconBase {
00030    
00031 public:
00032    FWColorBoxIcon(unsigned int iEdgeLength);
00033    //virtual ~FWColorBoxIcon();
00034    
00035    // ---------- const member functions ---------------------
00036    
00037    // ---------- static member functions --------------------
00038    
00039    // ---------- member functions ---------------------------
00040    void setColor(GContext_t iColorContext)
00041    {
00042       m_colorContext = iColorContext;
00043    }
00044    
00045 private:
00046    FWColorBoxIcon(const FWColorBoxIcon&); // stop default
00047    
00048    const FWColorBoxIcon& operator=(const FWColorBoxIcon&); // stop default
00049 
00050    void drawInsideBox(Drawable_t iID, GContext_t iContext, int iX, int iY, unsigned int iSize) const;
00051 
00052    // ---------- member data --------------------------------
00053    GContext_t m_colorContext ;
00054 };
00055 
00056 
00057 #endif