summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2PluginInfoTable.h
blob: ddffcf4b1e78f2d7e978873e023797ae2246cbdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef T2DLL_T2PLUGININFOTABLE_H
#define T2DLL_T2PLUGININFOTABLE_H
#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;
};
#endif