CMS 3D CMS Logo

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