robot_test.h

来自「FIRA 3对3 机器人足球PC端控制程序。」· C头文件 代码 · 共 69 行

H
69
字号
#if !defined(AFX_ROBOT_TEST_H__0B4DD700_91D4_11D1_B30D_0000E89D7156__INCLUDED_)
#define AFX_ROBOT_TEST_H__0B4DD700_91D4_11D1_B30D_0000E89D7156__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// Crobot_test dialog

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

// Dialog Data
	//{{AFX_DATA(Crobot_test)
	enum { IDD = IDD_ROBOT_TEST };
	CScrollBar	m_srobot3_right;
	CScrollBar	m_srobot3_left;
	CScrollBar	m_srobot2_right;
	CScrollBar	m_srobot2_left;
	CScrollBar	m_srobot1_right;
	CScrollBar	m_srobot1_left;
	int		m_robot1_left;
	int		m_robot2_left;
	int		m_robot1_right;
	int		m_robot2_right;
	int		m_robot3_left;
	int		m_robot3_right;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(Crobot_test)
	afx_msg void OnStopButton();
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	virtual void OnCancel();
	afx_msg void OnAddButton();
	afx_msg void OnSendButton();
	afx_msg void OnMinusButton();
	afx_msg void OnVelInversButton();
	afx_msg void OnTurnButton();
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnZeroButton();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_ROBOT_TEST_H__0B4DD700_91D4_11D1_B30D_0000E89D7156__INCLUDED_)

⌨️ 快捷键说明

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