From c0c336500955a23e344651e5412c9d9d441ef4ee Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 28 Jun 2023 22:22:32 +0100 Subject: first pass of T2DLL --- src/T2DLL/T2DlgItemImageTable.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/T2DLL/T2DlgItemImageTable.h') 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; }; -- cgit v1.2.3