CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 // $Id: FWCheckBoxIcon.h,v 1.2 2009/05/01 02:01:34 dmytro Exp $
20 //
21 
22 // system include files
23 
24 // user include files
26 
27 // forward declarations
28 
29 class FWCheckBoxIcon : public FWBoxIconBase {
30 
31 public:
32  FWCheckBoxIcon(unsigned int iEdgeLength);
33  virtual ~FWCheckBoxIcon();
34 
35  // ---------- const member functions ---------------------
36  bool isChecked() const { return m_checked;}
37 
38  // ---------- static member functions --------------------
39  static const TString& coreIcondir();
40 
41  // ---------- member functions ---------------------------
42  void setChecked(bool iChecked) {
43  m_checked = iChecked;
44  }
45 
46 private:
47  FWCheckBoxIcon(const FWCheckBoxIcon&); // stop default
48 
49  const FWCheckBoxIcon& operator=(const FWCheckBoxIcon&); // stop default
50 
51  void drawInsideBox(Drawable_t iID, GContext_t iContext, int iX, int iY, unsigned int iSize) const;
52 
53  // ---------- member data --------------------------------
54  bool m_checked;
55 };
56 
57 
58 #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