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 // $Id: FWBoxIconBase.h,v 1.1 2009/03/04 16:40:50 chrjones Exp $
20 //
21 
22 // system include files
23 #include "GuiTypes.h"
24 
25 // user include files
26 
27 // forward declarations
28 
30 
31 public:
32  FWBoxIconBase(unsigned int iEdgeLength);
33  virtual ~FWBoxIconBase();
34 
35  // ---------- const member functions ---------------------
36  void draw(Drawable_t iID, GContext_t iContext, int iX, int iY) const;
37 
38  unsigned int edgeLength() const { return m_edgeLength;}
39  // ---------- static member functions --------------------
40 
41  // ---------- member functions ---------------------------
42 
43 private:
44  FWBoxIconBase(const FWBoxIconBase&); // stop default
45 
46  const FWBoxIconBase& operator=(const FWBoxIconBase&); // stop default
47 
48  virtual void drawInsideBox(Drawable_t iID, GContext_t iContext, int iX, int iY, unsigned int iSize) const= 0;
49 
50  // ---------- member data --------------------------------
51  unsigned int m_edgeLength;
52 };
53 
54 
55 #endif
unsigned int m_edgeLength
Definition: FWBoxIconBase.h:51
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:38
FWBoxIconBase(unsigned int iEdgeLength)
void draw(Drawable_t iID, GContext_t iContext, int iX, int iY) const
const FWBoxIconBase & operator=(const FWBoxIconBase &)