#pragma once #include "common.h" #include "T2DlgItemTable.h" class AFX_EXT_CLASS T2DlgItemImageTable : public T2DlgItemTable { public: T2DlgItemImageTable(T2TowerDoc* towerDoc, T2ImageObj* imageObj, CPalette* palette); T2DlgItemImageTable(int rows, int cols, int rowHeight, int colWidth, int cellDataSize, T2TowerDoc* towerDoc, T2ImageObj* imageObj, CPalette* palette); protected: virtual void DrawCell(CDC*, const TableCellT&); virtual void HiliteCell(CDC*, const TableCellT&); virtual void UnhiliteCell(CDC*, const TableCellT&); virtual void DrawCellSelf(CDC *dc, const TableCellT& cell, BOOL isSelected) = 0; };