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/T2OpenningWindow.h | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'src/T2OpenningWindow.h') diff --git a/src/T2OpenningWindow.h b/src/T2OpenningWindow.h index 7695cbc..8e2a7aa 100644 --- a/src/T2OpenningWindow.h +++ b/src/T2OpenningWindow.h @@ -1,25 +1,32 @@ #pragma once #include "common.h" +#include "resource.h" class Bitmap; class T2OpenningWindow : public CFrameWnd { +public: + T2OpenningWindow(); DECLARE_DYNCREATE(T2OpenningWindow) - DECLARE_MESSAGE_MAP() public: - T2OpenningWindow(); virtual ~T2OpenningWindow(); void ShowOpenningWindow(); -protected: - void OnPaint(); - void OnLButtonDown(UINT nFlags, CPoint point); - BOOL OnEraseBkgnd(CDC *pDC); - Bitmap *mBitmap; CPalette mPalette; int _CC; int _D0; CString mWndClass; + + //{{AFX_VIRTUAL(T2OpenningWindow) + //}}AFX_VIRTUAL + +protected: + //{{AFX_MSG(T2OpenningWindow) + afx_msg void OnPaint(); + afx_msg void OnLButtonDown(UINT nFlags, CPoint point); + afx_msg BOOL OnEraseBkgnd(CDC *pDC); + //}}AFX_MSG + DECLARE_MESSAGE_MAP() }; -- cgit v1.2.3