#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; ///////////////////////////////////////////////////////////////////////////// // CPiecePreview window class CPiecePreview : public CWnd { // Construction public: CPiecePreview(); // Attributes public: BOOL m_bZoomPreview; void SetPieceInfo(PieceInfo* pInfo); // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CPiecePreview) //}}AFX_VIRTUAL // Implementation public: virtual ~CPiecePreview(); // Generated message map functions protected: SIZE m_szView; HGLRC m_hglRC; PieceInfo* m_pPieceInfo; CPalette* m_pPalette; CClientDC* m_pDC; //{{AFX_MSG(CPiecePreview) afx_msg BOOL OnEraseBkgnd(CDC* pDC); afx_msg void OnPaint(); afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 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 // !defined(AFX_PIECEPRV_H__FBCDC803_4059_11D2_8202_C2FDEFF7E618__INCLUDED_)