summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2DlgItemImageTable.h
blob: 8a54b0ce41a2ef70e616fca3a324e1f8381e48bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef T2DLL_T2DLGITEMIMAGETABLE_H
#define T2DLL_T2DLGITEMIMAGETABLE_H
#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;
};
#endif