diff options
Diffstat (limited to 'src/T2DLL/T2PluginInfoTable.h')
-rw-r--r-- | src/T2DLL/T2PluginInfoTable.h | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/src/T2DLL/T2PluginInfoTable.h b/src/T2DLL/T2PluginInfoTable.h index 244efa3..dde9bbf 100644 --- a/src/T2DLL/T2PluginInfoTable.h +++ b/src/T2DLL/T2PluginInfoTable.h @@ -1,15 +1,19 @@ #pragma once #include "common.h" +#include "T2DlgItemImageTable.h" -class T2PluginInfoTable { +class AFX_EXT_CLASS T2PluginInfoTable : public T2DlgItemImageTable { public: - virtual int Create(const char*, unsigned long, const RECT&, CWnd*, unsigned int); - T2PluginInfoTable(T2TowerDoc*, T2ImageObj*, CPalette*); + T2PluginInfoTable(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette); virtual ~T2PluginInfoTable(); - void Add(CPluginInfo*); - void Add(T2PluginSpecifier*); + 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*, const TableCellT&, int); - virtual int OnT2DlgItemCreate(CREATESTRUCTA*); - virtual int OnT2DlgItemEraseBkgnd(CDC*); + virtual void DrawCellSelf(CDC* pDC, const TableCellT& inCell, BOOL inSelected); + virtual BOOL OnT2DlgItemCreate(CREATESTRUCT* inCreateStruct); + virtual BOOL OnT2DlgItemEraseBkgnd(CDC* pDC); + + int mType; }; |