summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2DlgItemTab.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/T2DlgItemTab.h
parent37e364b2c6cc7487a1c888d256a73e5337bb7189 (diff)
downloadt2win-c0c336500955a23e344651e5412c9d9d441ef4ee.tar.gz
t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.zip
first pass of T2DLL
Diffstat (limited to 'src/T2DLL/T2DlgItemTab.h')
-rw-r--r--src/T2DLL/T2DlgItemTab.h21
1 files changed, 13 insertions, 8 deletions
diff --git a/src/T2DLL/T2DlgItemTab.h b/src/T2DLL/T2DlgItemTab.h
index 234cd0a..f728837 100644
--- a/src/T2DLL/T2DlgItemTab.h
+++ b/src/T2DLL/T2DlgItemTab.h
@@ -1,15 +1,20 @@
#pragma once
#include "common.h"
+#include "T2DlgItem.h"
-class T2DlgItemTab {
+class CustomTabControl;
+
+class AFX_EXT_CLASS T2DlgItemTab : public T2DlgItem {
public:
- T2DlgItemTab(T2TowerDoc*, T2ImageObj*, CPalette*);
+ T2DlgItemTab(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette);
virtual ~T2DlgItemTab();
- virtual int OnT2DlgItemCreate(CREATESTRUCTA*);
- virtual void SetFont(HFONT);
- virtual void CreateSubItem(void*);
+ virtual int OnT2DlgItemCreate(CREATESTRUCT* cs);
+ virtual void SetFont(HFONT inFont);
+ virtual void CreateSubItem(void* inData);
+ virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
+
protected:
- virtual int OnT2DlgItemEraseBkgnd(CDC*);
-public:
- virtual long WindowProc(unsigned int, unsigned int, long);
+ virtual BOOL OnT2DlgItemEraseBkgnd(CDC* pDC);
+
+ CustomTabControl *mSubItem;
};