pencolor.h

来自「计算机图形学实验中综合使用鼠标、菜单、橡皮条等交互技术实现直线、圆和矩形等基本图」· C头文件 代码 · 共 54 行

H
54
字号
#if !defined(AFX_PENCOLOR_H__412BFC06_CA37_46B1_BBAF_5C1105EF3368__INCLUDED_)
#define AFX_PENCOLOR_H__412BFC06_CA37_46B1_BBAF_5C1105EF3368__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CPenColor dialog

class CPenColor : public CDialog
{
// Construction
public:
	CPenColor(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CPenColor)
	enum { IDD = IDD_DIALOG1 };
	CSliderCtrl	m_sliderGreen;
	CSliderCtrl	m_sliderBlue;
	CSliderCtrl	m_sliderRed;
	int		m_nRed;
	int		m_nBlue;
	int		m_nGreen;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CPenColor)
	virtual BOOL OnInitDialog();
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_PENCOLOR_H__412BFC06_CA37_46B1_BBAF_5C1105EF3368__INCLUDED_)

⌨️ 快捷键说明

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