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 // $Id: FWCollectionSummaryModelCellRenderer.h,v 1.1 2009/03/04 16:40:51 chrjones Exp $
20 //
21 
22 // system include files
23 
24 // user include files
26 
27 // forward declarations
28 class FWColorBoxIcon;
29 class FWCheckBoxIcon;
30 class FWEventItem;
31 
33 {
34 public:
35  FWCollectionSummaryModelCellRenderer(const TGGC* iContext, const TGGC* iSelectContext);
37 
38  enum ClickHit {
42  };
43  // ---------- const member functions ---------------------
44  virtual UInt_t width() const;
45 
46  // ---------- static member functions --------------------
47 
48  // ---------- member functions ---------------------------
49  virtual void draw(Drawable_t iID, int iX, int iY, unsigned int iWidth, unsigned int iHeight);
50 
51  void setData(const FWEventItem* iItem, int iIndex);
52 
53  ClickHit clickHit(int iX, int iY) const;
54 
55 private:
57 
59 
60  // ---------- member data --------------------------------
64 };
65 
66 
67 #endif
const FWCollectionSummaryModelCellRenderer & operator=(const FWCollectionSummaryModelCellRenderer &)
FWCollectionSummaryModelCellRenderer(const TGGC *iContext, const TGGC *iSelectContext)
unsigned int UInt_t
Definition: FUTypes.h:12
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