From c920fe38a19013b99f3f74e48da9724fb053c212 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Sun, 9 Jul 2023 20:59:16 +0100 Subject: support building from VC++ IDE, add resources --- src/T2GraphWindow.h | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'src/T2GraphWindow.h') diff --git a/src/T2GraphWindow.h b/src/T2GraphWindow.h index 4286e73..a3051dd 100644 --- a/src/T2GraphWindow.h +++ b/src/T2GraphWindow.h @@ -2,19 +2,25 @@ #include "common.h" class T2GraphWindow : public CFrameWnd { +protected: + T2GraphWindow(); DECLARE_DYNCREATE(T2GraphWindow) - DECLARE_MESSAGE_MAP() public: - T2GraphWindow(); virtual ~T2GraphWindow(); void SetDocument(T2TowerDoc *inDoc); -protected: - BOOL OnEraseBkgnd(CDC *pDC); - void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar *pScrollBar); - void OnSize(UINT nType, int cx, int cy); - BOOL OnQueryNewPalette(); - T2TowerDoc *mDocument; + + //{{AFX_VIRTUAL(T2GraphWindow) + //}}AFX_VIRTUAL + +protected: + //{{AFX_MSG(T2GraphWindow) + afx_msg BOOL OnEraseBkgnd(CDC *pDC); + afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar *pScrollBar); + afx_msg void OnSize(UINT nType, int cx, int cy); + afx_msg BOOL OnQueryNewPalette(); + //}}AFX_MSG + DECLARE_MESSAGE_MAP() }; -- cgit v1.2.3