CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWCollectionSummaryModelCellRenderer.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWCollectionSummaryModelCellRenderer_h
2 #define Fireworks_Core_FWCollectionSummaryModelCellRenderer_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWCollectionSummaryModelCellRenderer
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Wed Feb 25 10:03:21 CST 2009
19 //
20 
21 // system include files
22 
23 // user include files
25 
26 // forward declarations
27 class FWColorBoxIcon;
28 class FWCheckBoxIcon;
29 class FWEventItem;
30 
32 {
33 public:
34  FWCollectionSummaryModelCellRenderer(const TGGC* iContext, const TGGC* iSelectContext);
36 
37  enum ClickHit {
41  };
42  // ---------- const member functions ---------------------
43  virtual UInt_t width() const;
44 
45  // ---------- static member functions --------------------
46 
47  // ---------- member functions ---------------------------
48  virtual void draw(Drawable_t iID, int iX, int iY, unsigned int iWidth, unsigned int iHeight);
49 
50  void setData(const FWEventItem* iItem, int iIndex);
51 
52  ClickHit clickHit(int iX, int iY) const;
53 
54 private:
56 
58 
59  // ---------- member data --------------------------------
63 };
64 
65 
66 #endif
const FWCollectionSummaryModelCellRenderer & operator=(const FWCollectionSummaryModelCellRenderer &)
FWCollectionSummaryModelCellRenderer(const TGGC *iContext, const TGGC *iSelectContext)
void setData(const FWEventItem *iItem, int iIndex)
virtual void draw(Drawable_t iID, int iX, int iY, unsigned int iWidth, unsigned int iHeight)
virtual UInt_t width() const
returns the minimum width of the cell to which the renderer is representing