CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch1/src/Fireworks/TableWidget/interface/FWTableCellRendererBase.h

Go to the documentation of this file.
00001 #ifndef Fireworks_TableWidget_FWTableCellRendererBase_h
00002 #define Fireworks_TableWidget_FWTableCellRendererBase_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     TableWidget
00006 // Class  :     FWTableCellRendererBase
00007 // 
00032 //
00033 // Original Author:  Chris Jones
00034 //         Created:  Mon Feb  2 16:40:18 EST 2009
00035 // $Id: FWTableCellRendererBase.h,v 1.1 2009/02/03 20:33:03 chrjones Exp $
00036 //
00037 
00038 // system include files
00039 #include "GuiTypes.h"
00040 
00041 // user include files
00042 
00043 // forward declarations
00044 
00045 class FWTableCellRendererBase
00046 {
00047 
00048    public:
00049       FWTableCellRendererBase();
00050       virtual ~FWTableCellRendererBase();
00051 
00052       // ---------- const member functions ---------------------
00054       virtual UInt_t width() const= 0;
00056       virtual UInt_t height() const = 0;
00057       
00065       virtual void draw(Drawable_t iID, int iX, int iY, unsigned int iWidth, unsigned int iHeight)=0;
00066 
00067       // ---------- member functions ---------------------------
00073       virtual void buttonEvent(Event_t* iClickEvent, int iRelClickX, int iRelClickY);
00074 
00075    private:
00076       FWTableCellRendererBase(const FWTableCellRendererBase&); // stop default
00077 
00078       const FWTableCellRendererBase& operator=(const FWTableCellRendererBase&); // stop default
00079 
00080       // ---------- member data --------------------------------
00081 
00082 };
00083 
00084 
00085 #endif