File indexing completed on 2023-03-17 11:01:18
0001 #ifndef Fireworks_Core_FWCheckBoxIcon_h
0002 #define Fireworks_Core_FWCheckBoxIcon_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024 #include "Fireworks/Core/src/FWBoxIconBase.h"
0025
0026
0027
0028 class FWCheckBoxIcon : public FWBoxIconBase {
0029 public:
0030 FWCheckBoxIcon(unsigned int iEdgeLength);
0031 ~FWCheckBoxIcon() override;
0032
0033
0034 bool isChecked() const { return m_checked; }
0035
0036
0037 static const TString& coreIcondir();
0038
0039
0040 void setChecked(bool iChecked) { m_checked = iChecked; }
0041
0042 FWCheckBoxIcon(const FWCheckBoxIcon&) = delete;
0043
0044 const FWCheckBoxIcon& operator=(const FWCheckBoxIcon&) = delete;
0045
0046 private:
0047 void drawInsideBox(Drawable_t iID, GContext_t iContext, int iX, int iY, unsigned int iSize) const override;
0048
0049
0050 bool m_checked;
0051 };
0052
0053 #endif