axisdlg.h

来自「This is my assignment for my tutor s Cla」· C头文件 代码 · 共 68 行

H
68
字号
#if !defined(AFX_AXISDLG_H__7963D98B_6498_4A5E_AC50_AA2494CA123F__INCLUDED_)
#define AFX_AXISDLG_H__7963D98B_6498_4A5E_AC50_AA2494CA123F__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CAxisDlg dialog

class CAxisDlg : public CDialog
{
// Construction
public:
	void SetColory(COLORREF color);
	void SetColorx(COLORREF color);
    COLORREF GetColorx();
	COLORREF GetColory();
	CAxisDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CAxisDlg)
	enum { IDD = IDD_SET_AXIS };
	CButton	m_Ctrl_Colory;
	CButton	m_Ctrl_Colorx;
	long	m_Axis_Startx;
	long	m_Axis_Starty;
	double	m_InterValx;
	double	m_Intervaly;
	long	m_Axis_Endx;
	long	m_Axis_Endy;
	CString	m_Lable_x;
	CString	m_Lable_y;
	int		m_Axis_Width;
	long	m_Centerx;
	long	m_Centery;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CAxisDlg)
	afx_msg void OnButtonColorx();
	virtual void OnOK();
	afx_msg void OnButtonColory();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	COLORREF m_Colory;
	COLORREF m_Colorx;
};

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

#endif // !defined(AFX_AXISDLG_H__7963D98B_6498_4A5E_AC50_AA2494CA123F__INCLUDED_)

⌨️ 快捷键说明

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