summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2PluginInfoTable.h
blob: 0a6615ff2fe687cb9cdf76ee570e24956d4d30ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once
#include "common.h"
#include "T2DlgItemImageTable.h"

class AFX_CLASS_EXPORT T2PluginInfoTable : public T2DlgItemImageTable {
public:
	T2PluginInfoTable(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette);
	virtual ~T2PluginInfoTable();
    virtual BOOL Create(const char* inWindowName, DWORD inStyle, const RECT& inRect, CWnd* inParentWnd, UINT inID);
	void Add(CPluginInfo* inInfo);
	void Add(T2PluginSpecifier* inSpecifier);

protected:
	virtual void DrawCellSelf(CDC* pDC, const TableCellT& inCell, BOOL inSelected);
	virtual BOOL OnT2DlgItemCreate(CREATESTRUCT* inCreateStruct);
	virtual BOOL OnT2DlgItemEraseBkgnd(CDC* pDC);

    int mType;
};