drawdlg.h

来自「本程序描绘了一个球体怎样进行旋转的细节。」· C头文件 代码 · 共 71 行

H
71
字号
#if !defined(AFX_DRAWDLG_H__075020D9_345B_43BB_A7A4_82071D5461CA__INCLUDED_)
#define AFX_DRAWDLG_H__075020D9_345B_43BB_A7A4_82071D5461CA__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CDrawDlg dialog

class CDrawDlg : public CDialog
{
// Construction
public:
	void fill(POINT *x,POINT *y,POINT *z,int i,int j,int q);
	int Maxnum(int *p,int n);
//	void compare(int *p,int n);
	struct D
	{
		int x;
		int y;
		int z;
	};
//	D v[8]={{50.00,50.00,50.00},{50.00,50.00,-50.00},{50.00,-50.00,-50.00},{50.00,-50.00,50.00},{-50.00,-50.00,50.00},{-50.00,-50.00,-50.00},{-50.00,50.00,-50.00},{-50.00,50.00,50.00}};
	void Draw();
	int a,b,c;
	int Ctrl;

	CDrawDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CDrawDlg)
	enum { IDD = IDD_DIALOG1 };
	CScrollBar	m_scroll3;
	CScrollBar	m_scroll2;
	CScrollBar	m_scroll1;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDrawDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDrawDlg)
	afx_msg void OnPaint();
	virtual BOOL OnInitDialog();
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	virtual void OnOK();
	afx_msg void OnButton1();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnButton2();
	afx_msg void OnButton3();
	afx_msg void OnButton4();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DRAWDLG_H__075020D9_345B_43BB_A7A4_82071D5461CA__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?