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/T2MainWindow.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/T2MainWindow.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/T2MainWindow.h b/src/T2MainWindow.h index eedd250..31f28a0 100644 --- a/src/T2MainWindow.h +++ b/src/T2MainWindow.h @@ -4,13 +4,12 @@ #define T2_MAIN_WINDOW ((T2MainWindow *) AfxGetMainWnd()) class T2MainWindow : public CFrameWnd { +protected: + T2MainWindow(); DECLARE_DYNCREATE(T2MainWindow) - DECLARE_MESSAGE_MAP() public: - T2MainWindow(); virtual ~T2MainWindow(); - virtual BOOL PreCreateWindow(CREATESTRUCT& cs); virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; void Setup(); @@ -35,6 +34,14 @@ public: protected: void InitSound(); void DeinitSound(); + + //{{AFX_VIRTUAL(T2MainWindow) + public: + virtual BOOL PreCreateWindow(CREATESTRUCT& cs); + //}}AFX_VIRTUAL + +protected: + //{{AFX_MSG(T2MainWindow) afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnDestroy(); afx_msg void OnSize(UINT nType, int cx, int cy); @@ -47,4 +54,6 @@ protected: afx_msg void OnUpdateCmdDebugEvent(CCmdUI *pCmdUI); afx_msg void OnClose(); afx_msg void OnCmdDebugMode(); + //}}AFX_MSG + DECLARE_MESSAGE_MAP() }; |