#pragma once #include "common.h" #include "T2DlgItemImageTable.h" class AFX_EXT_CLASS T2PluginInfoTable : public T2DlgItemImageTable { public: T2PluginInfoTable(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette); virtual ~T2PluginInfoTable(); virtual BOOL Create(const char* inWindowName, DWORD inStyle, const RECT& inRect, CWnd* inParentWnd, UINT inID); void Add(CPluginInfo* inInfo); void Add(T2PluginSpecifier* inSpecifier); protected: virtual void DrawCellSelf(CDC* pDC, const TableCellT& inCell, BOOL inSelected); virtual BOOL OnT2DlgItemCreate(CREATESTRUCT* inCreateStruct); virtual BOOL OnT2DlgItemEraseBkgnd(CDC* pDC); int mType; };