summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2DlgItemImageTable.h
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-06-28 22:22:32 +0100
committerAsh Wolf <ninji@wuffs.org>2023-06-28 22:22:32 +0100
commitc0c336500955a23e344651e5412c9d9d441ef4ee (patch)
tree790769c748db307cf3314f6e896e2f61c68561a2 /src/T2DLL/T2DlgItemImageTable.h
parent37e364b2c6cc7487a1c888d256a73e5337bb7189 (diff)
downloadt2win-c0c336500955a23e344651e5412c9d9d441ef4ee.tar.gz
t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.zip
first pass of T2DLL
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2DlgItemImageTable.h11
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;
};