diff options
Diffstat (limited to 'src/T2DLL/T2DlgItemImageTable.h')
-rw-r--r-- | src/T2DLL/T2DlgItemImageTable.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/T2DLL/T2DlgItemImageTable.h b/src/T2DLL/T2DlgItemImageTable.h index ab768ba..78c2966 100644 --- a/src/T2DLL/T2DlgItemImageTable.h +++ b/src/T2DLL/T2DlgItemImageTable.h @@ -1,15 +1,14 @@ #pragma once #include "common.h" +#include "T2DlgItemTable.h" -class T2DlgItemImageTable { +class AFX_EXT_CLASS T2DlgItemImageTable : public T2DlgItemTable { public: - T2DlgItemImageTable(T2TowerDoc*, T2ImageObj*, CPalette*); - T2DlgItemImageTable(int, int, int, int, int, T2TowerDoc*, T2ImageObj*, CPalette*); + 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&); - -public: - virtual ~T2DlgItemImageTable() {} + virtual void DrawCellSelf(CDC *dc, const TableCellT& cell, BOOL isSelected) = 0; }; |