summaryrefslogtreecommitdiff
path: root/win/Mfwnd.h
blob: c047f5f32915aa474a1cce3549c932e834f9253e (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
#ifndef __MFWND_H__
#define __MFWND_H__

// MFWind.h : header file
//

#include "system.h"

/////////////////////////////////////////////////////////////////////////////
// CMinifigWnd window

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

// Attributes
protected:
	HGLRC m_hrc;
	CClientDC* m_pDC;
	CPalette* m_pPal;

// Operations
public:
	void DrawScene();
	int InitGL();
	LC_MINIFIGDLG_OPTS* m_pFig;

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

// Implementation
public:
	virtual ~CMinifigWnd();

	// Generated message map functions
protected:
	//{{AFX_MSG(CMinifigWnd)
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnPaint();
	afx_msg void OnDestroy();
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

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

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

#endif // __MFWND_H__