From c0c336500955a23e344651e5412c9d9d441ef4ee Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 28 Jun 2023 22:22:32 +0100 Subject: first pass of T2DLL --- src/T2DLL/T2PluginInfoTable.h | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'src/T2DLL/T2PluginInfoTable.h') 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; }; -- cgit v1.2.3