summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2DlgItemImageTable.h
blob: 82f0aa6d4b12735154a1ea470689ff6a1ef33915 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once
#include "common.h"
#include "T2DlgItemTable.h"

class AFX_CLASS_EXPORT 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;
};