summaryrefslogtreecommitdiff
path: root/win/Pieceprv.h
blob: 67f9e3749175cb3c0ad7204292912b7fb9c78a51 (plain)
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
45
46
47
48
49
50
51
52
53
54
55
56
#if !defined(AFX_PIECEPRV_H__FBCDC803_4059_11D2_8202_C2FDEFF7E618__INCLUDED_)
#define AFX_PIECEPRV_H__FBCDC803_4059_11D2_8202_C2FDEFF7E618__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// PiecePrv.h : header file
//

class PieceInfo;
class PiecePreview;

/////////////////////////////////////////////////////////////////////////////
// CPiecePreview window

class CPiecePreview : public CWnd
{
// Construction
public:
	CPiecePreview();

// Attributes
public:
	void SetPieceInfo(PieceInfo* pInfo);
	PieceInfo* GetPieceInfo () const;

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPiecePreview)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CPiecePreview();

	// Generated message map functions
protected:
	PiecePreview* m_Preview;

	//{{AFX_MSG(CPiecePreview)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnDestroy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
	virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PIECEPRV_H__FBCDC803_4059_11D2_8202_C2FDEFF7E618__INCLUDED_)