1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#include "T2DlgItemImageTable.h"
T2DlgItemImageTable::T2DlgItemImageTable(T2TowerDoc* towerDoc, T2ImageObj* imageObj, CPalette* palette)
: T2DlgItemTable(towerDoc, imageObj, palette)
{
}
T2DlgItemImageTable::T2DlgItemImageTable(int rows, int cols, int rowHeight, int colWidth, int cellDataSize, T2TowerDoc* towerDoc, T2ImageObj* imageObj, CPalette* palette)
: T2DlgItemTable(rows, cols, rowHeight, colWidth, cellDataSize, towerDoc, imageObj, palette)
{
}
/*virtual*/ void T2DlgItemImageTable::DrawCell(CDC* dc, const TableCellT& cell) {
if (EqualCell(cell, mSelectedCell))
DrawCellSelf(dc, cell, true);
else
DrawCellSelf(dc, cell, false);
}
/*virtual*/ void T2DlgItemImageTable::HiliteCell(CDC*, const TableCellT&) {
}
/*virtual*/ void T2DlgItemImageTable::UnhiliteCell(CDC*, const TableCellT&) {
}
|