File indexing completed on 2023-03-17 11:01:18
0001 #ifndef Fireworks_Core_FWColorBoxIcon_h
0002 #define Fireworks_Core_FWColorBoxIcon_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 FWColorBoxIcon : public FWBoxIconBase {
0029 public:
0030 FWColorBoxIcon(unsigned int iEdgeLength);
0031
0032
0033
0034
0035
0036
0037
0038 void setColor(GContext_t iColorContext) { m_colorContext = iColorContext; }
0039
0040 FWColorBoxIcon(const FWColorBoxIcon&) = delete;
0041
0042 const FWColorBoxIcon& operator=(const FWColorBoxIcon&) = delete;
0043
0044 private:
0045 void drawInsideBox(Drawable_t iID, GContext_t iContext, int iX, int iY, unsigned int iSize) const override;
0046
0047
0048 GContext_t m_colorContext;
0049 };
0050
0051 #endif