CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
FWBoxIconBase.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWBoxIconBase_h
2 #define Fireworks_Core_FWBoxIconBase_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWBoxIconBase
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Thu Feb 19 15:09:30 CST 2009
19 //
20 
21 // system include files
22 #include "GuiTypes.h"
23 
24 // user include files
25 
26 // forward declarations
27 
29 public:
30  FWBoxIconBase(unsigned int iEdgeLength);
31  virtual ~FWBoxIconBase();
32 
33  // ---------- const member functions ---------------------
34  void draw(Drawable_t iID, GContext_t iContext, int iX, int iY) const;
35 
36  unsigned int edgeLength() const { return m_edgeLength; }
37  // ---------- static member functions --------------------
38 
39  // ---------- member functions ---------------------------
40 
41  FWBoxIconBase(const FWBoxIconBase&) = delete; // stop default
42 
43  const FWBoxIconBase& operator=(const FWBoxIconBase&) = delete; // stop default
44 
45 private:
46  virtual void drawInsideBox(Drawable_t iID, GContext_t iContext, int iX, int iY, unsigned int iSize) const = 0;
47 
48  // ---------- member data --------------------------------
49  unsigned int m_edgeLength;
50 };
51 
52 #endif
unsigned int m_edgeLength
Definition: FWBoxIconBase.h:49
virtual void drawInsideBox(Drawable_t iID, GContext_t iContext, int iX, int iY, unsigned int iSize) const =0
virtual ~FWBoxIconBase()
unsigned int edgeLength() const
Definition: FWBoxIconBase.h:36
FWBoxIconBase(unsigned int iEdgeLength)
const FWBoxIconBase & operator=(const FWBoxIconBase &)=delete
void draw(Drawable_t iID, GContext_t iContext, int iX, int iY) const