-
Notifications
You must be signed in to change notification settings - Fork 1
/
DrawWnd.h
44 lines (32 loc) · 921 Bytes
/
DrawWnd.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// drawwnd.h : header file
//
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#include "../Dots/CShowWnd.h"
#include "CWorldParams.h"
/////////////////////////////////////////////////////////////////////////////
// CDrawWnd window
class CDrawWnd : public CShowWnd
{
// Construction
public:
CDrawWnd(BOOL bAutoDelete = TRUE, BOOL bP = FALSE);
virtual ~CDrawWnd();
virtual BOOL Create(DWORD dwExStyle, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT &rect, CWnd *pWndParent, UINT nID = 0);
void Start(void);
protected:
virtual void PostNcDestroy();
BOOL m_bAutoDelete;
BOOL bPreview{ FALSE };
CWorldParams wpParams;
CString strSaveFileName;
void GetSaveFileName(void);
//{{AFX_MSG(CDrawWnd)
//afx_msg void OnPaint();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnTimer(UINT_PTR nIDEvent);
};
/////////////////////////////////////////////////////////////////////////////