test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
30 public:
31  FWBoxIconBase(unsigned int iEdgeLength);
32  virtual ~FWBoxIconBase();
33 
34  // ---------- const member functions ---------------------
35  void draw(Drawable_t iID, GContext_t iContext, int iX, int iY) const;
36 
37  unsigned int edgeLength() const { return m_edgeLength;}
38  // ---------- static member functions --------------------
39 
40  // ---------- member functions ---------------------------
41 
42 private:
43  FWBoxIconBase(const FWBoxIconBase&); // stop default
44 
45  const FWBoxIconBase& operator=(const FWBoxIconBase&); // stop default
46 
47  virtual void drawInsideBox(Drawable_t iID, GContext_t iContext, int iX, int iY, unsigned int iSize) const= 0;
48 
49  // ---------- member data --------------------------------
50  unsigned int m_edgeLength;
51 };
52 
53 
54 #endif
unsigned int m_edgeLength
Definition: FWBoxIconBase.h:50
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:37
FWBoxIconBase(unsigned int iEdgeLength)
void draw(Drawable_t iID, GContext_t iContext, int iX, int iY) const
const FWBoxIconBase & operator=(const FWBoxIconBase &)