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/T2GraphWindow.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/T2GraphWindow.h | 22 |
1 files changed, 14 insertions, 8 deletions
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() }; |