summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2PluginInfoTable.h
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-06-28 22:22:32 +0100
committerAsh Wolf <ninji@wuffs.org>2023-06-28 22:22:32 +0100
commitc0c336500955a23e344651e5412c9d9d441ef4ee (patch)
tree790769c748db307cf3314f6e896e2f61c68561a2 /src/T2DLL/T2PluginInfoTable.h
parent37e364b2c6cc7487a1c888d256a73e5337bb7189 (diff)
downloadt2win-c0c336500955a23e344651e5412c9d9d441ef4ee.tar.gz
t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.zip
first pass of T2DLL
Diffstat (limited to 'src/T2DLL/T2PluginInfoTable.h')
-rw-r--r--src/T2DLL/T2PluginInfoTable.h20
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;
};