#ifndef ROOT_TGCanvas
#include "TGCanvas.h"
#endif
#ifndef ROOT_TGTableHeader
#include "TGTableHeader.h"
#endif
class TGTableFrame : public TQObject {
protected:
TGCompositeFrame *fFrame;
TGCanvas *fCanvas;
public:
TGTableFrame(const TGWindow *p, UInt_t nrows, UInt_t ncolumns);
virtual ~TGTableFrame() { delete fFrame; }
TGFrame *GetFrame() const { return fFrame; }
void SetCanvas(TGCanvas *canvas) { fCanvas = canvas; }
void HandleMouseWheel(Event_t *event);
virtual void DrawRegion(Int_t x, Int_t y, UInt_t w, UInt_t h);
ClassDef(TGTableFrame, 0)
};
class TGTableHeaderFrame: public TGCompositeFrame {
protected:
Int_t fX0;
Int_t fY0;
TGTable *fTable;
public:
TGTableHeaderFrame(const TGWindow *p, TGTable *table = 0, UInt_t w = 1,
UInt_t h = 1, EHeaderType type = kColumnHeader,
UInt_t option = 0);
~TGTableHeaderFrame() {}
virtual void DrawRegion(Int_t x, Int_t y, UInt_t w, UInt_t h);
ClassDef(TGTableHeaderFrame, 0)
};