www.pudn.com > 3DEDITOR.rar > RENDERVIEW.H
#if !defined(AFX_RENDERVIEW_H__80175FE1_8B38_11D1_BE39_000021799871__INCLUDED_)
#define AFX_RENDERVIEW_H__80175FE1_8B38_11D1_BE39_000021799871__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// RenderView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// RenderView dialog
class RenderView : public CDialog
{
// Construction
public:
RenderView(CWnd* pParent = NULL); // standard constructor
scene *doc;
CDialog *rd;
RECT winpos3;
unsigned char *buf;
int bufsx,bufsy;
void Close();
void DrawPicture(picture *p,int ssx,int ssy);
void DrawPicture(CDC *dc,picture *p,int ssx,int ssy);
int SaveTGA(char *name);
void Copy();
// Dialog Data
//{{AFX_DATA(RenderView)
enum { IDD = IDD_VIEWIMG };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(RenderView)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(RenderView)
afx_msg void OnClose();
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg void OnSize(UINT nType, int cx, int cy);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_RENDERVIEW_H__80175FE1_8B38_11D1_BE39_000021799871__INCLUDED_)