CMS 3D CMS Logo

FWColorBoxIcon.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWColorBoxIcon_h
2 #define Fireworks_Core_FWColorBoxIcon_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWColorBoxIcon
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Thu Feb 19 15:42:03 CST 2009
19 //
20 
21 // system include files
22 
23 // user include files
25 
26 // forward declarations
27 
28 class FWColorBoxIcon : public FWBoxIconBase {
29 
30 public:
31  FWColorBoxIcon(unsigned int iEdgeLength);
32  //virtual ~FWColorBoxIcon();
33 
34  // ---------- const member functions ---------------------
35 
36  // ---------- static member functions --------------------
37 
38  // ---------- member functions ---------------------------
39  void setColor(GContext_t iColorContext)
40  {
41  m_colorContext = iColorContext;
42  }
43 
44 private:
45  FWColorBoxIcon(const FWColorBoxIcon&) = delete; // stop default
46 
47  const FWColorBoxIcon& operator=(const FWColorBoxIcon&) = delete; // stop default
48 
49  void drawInsideBox(Drawable_t iID, GContext_t iContext, int iX, int iY, unsigned int iSize) const override;
50 
51  // ---------- member data --------------------------------
52  GContext_t m_colorContext ;
53 };
54 
55 
56 #endif
const FWColorBoxIcon & operator=(const FWColorBoxIcon &)=delete
FWColorBoxIcon(unsigned int iEdgeLength)
void drawInsideBox(Drawable_t iID, GContext_t iContext, int iX, int iY, unsigned int iSize) const override
GContext_t m_colorContext
void setColor(GContext_t iColorContext)