diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-06-28 22:22:32 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-06-28 22:22:32 +0100 |
commit | c0c336500955a23e344651e5412c9d9d441ef4ee (patch) | |
tree | 790769c748db307cf3314f6e896e2f61c68561a2 /src/T2MWControl.h | |
parent | 37e364b2c6cc7487a1c888d256a73e5337bb7189 (diff) | |
download | t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.tar.gz t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.zip |
first pass of T2DLL
Diffstat (limited to '')
-rw-r--r-- | src/T2MWControl.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/T2MWControl.h b/src/T2MWControl.h new file mode 100644 index 0000000..005cde5 --- /dev/null +++ b/src/T2MWControl.h @@ -0,0 +1,26 @@ +#pragma once +#include "common.h" + +class T2MWControl : public CWnd { + DECLARE_DYNCREATE(T2MWControl) + DECLARE_MESSAGE_MAP() + +public: + T2MWControl(); + virtual ~T2MWControl(); + + virtual void Setup(T2TowerDoc *inDoc); + virtual void SetData(int data); // type? + virtual int GetData() const; // type? + +protected: + afx_msg BOOL OnEraseBkgnd(CDC* pDC); + afx_msg BOOL OnQueryNewPalette(); + afx_msg void OnLButtonDown(UINT nFlags, CPoint point); + afx_msg void OnLButtonUp(UINT nFlags, CPoint point); + afx_msg void OnMouseMove(UINT nFlags, CPoint point); + + T2TowerDoc *mDocument; + T2WorldDef *mWorldDef; + int mData; +}; |