diff options
Diffstat (limited to 'src/T2DLL/T2ArrowWnd.h')
-rw-r--r-- | src/T2DLL/T2ArrowWnd.h | 30 |
1 files changed, 12 insertions, 18 deletions
diff --git a/src/T2DLL/T2ArrowWnd.h b/src/T2DLL/T2ArrowWnd.h index 23c08d7..6c699b6 100644 --- a/src/T2DLL/T2ArrowWnd.h +++ b/src/T2DLL/T2ArrowWnd.h @@ -1,26 +1,20 @@ #pragma once #include "common.h" -class T2ArrowWnd { -public: - static CObject* __stdcall CreateObject(); -protected: - static CRuntimeClass* __stdcall _GetBaseClass(); +class AFX_EXT_CLASS T2ArrowWnd : public CFrameWnd { + DECLARE_DYNCREATE(T2ArrowWnd) + DECLARE_MESSAGE_MAP() + public: - virtual CRuntimeClass* GetRuntimeClass() const; T2ArrowWnd(); virtual ~T2ArrowWnd(); - void Show(int, int, T2TowerDoc*); -protected: - static const AFX_MSGMAP* __stdcall _GetBaseMessageMap(); - virtual const AFX_MSGMAP* GetMessageMap() const; - int OnEraseBkgnd(CDC*); - void OnTimer(unsigned int); - void OnDestroy(); -public: - static const CRuntimeClass classT2ArrowWnd; + void Show(int inX, int inY, T2TowerDoc* inDoc); + afx_msg BOOL OnEraseBkgnd(CDC* pDC); + afx_msg void OnTimer(UINT nIDEvent); + afx_msg void OnDestroy(); + protected: - static const AFX_MSGMAP messageMap; -private: - static const AFX_MSGMAP_ENTRY* const _messageEntries; + CString mWndClass; + CRgn mRgn; + unsigned short mCounter; }; |