diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-07-09 20:59:16 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-07-09 20:59:16 +0100 |
commit | c920fe38a19013b99f3f74e48da9724fb053c212 (patch) | |
tree | 6bb036fd3f61b85daceb26f74378eadcdd977db1 /src/T2MWControl.h | |
parent | 96a63139221587c6be9659c1e07eacd3a8e7f048 (diff) | |
download | t2win-c920fe38a19013b99f3f74e48da9724fb053c212.tar.gz t2win-c920fe38a19013b99f3f74e48da9724fb053c212.zip |
support building from VC++ IDE, add resources
Diffstat (limited to '')
-rw-r--r-- | src/T2MWControl.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/T2MWControl.h b/src/T2MWControl.h index 005cde5..c972795 100644 --- a/src/T2MWControl.h +++ b/src/T2MWControl.h @@ -3,24 +3,29 @@ class T2MWControl : public CWnd { DECLARE_DYNCREATE(T2MWControl) - DECLARE_MESSAGE_MAP() public: T2MWControl(); virtual ~T2MWControl(); + T2TowerDoc *mDocument; + T2WorldDef *mWorldDef; + int mData; + virtual void Setup(T2TowerDoc *inDoc); virtual void SetData(int data); // type? virtual int GetData() const; // type? + //{{AFX_VIRTUAL(T2MWControl) + //}}AFX_VIRTUAL + protected: + //{{AFX_MSG(T2MWControl 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; + //}}AFX_MSG + DECLARE_MESSAGE_MAP() }; |