CMS 3D CMS Logo

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