⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 settingcolor.h

📁 FIRA 3对3 机器人足球PC端控制程序。
💻 H
字号:
#if !defined(AFX_SETTINGCOLOR_H__BBFD3C41_B1FE_11D1_B9ED_0000E818599F__INCLUDED_)
#define AFX_SETTINGCOLOR_H__BBFD3C41_B1FE_11D1_B9ED_0000E818599F__INCLUDED_

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


/////////////////////////////////////////////////////////////////////////////
// CSettingColor dialog

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

	short nRmin_init, nRmax_init, nGmin_init, nGmax_init, nBmin_init, nBmax_init;
	short ballcolor[6], teamcolor[6], idcolor[3][6], opponentcolor[6], color[6];
	BOOL bSetColor;
	BYTE *pImageBuffer;
	int	w, h, y, u, v, r, g, b, DispSizeX, DispSizeY;
	MIL_ID	MilDisplayId;	
	MIL_ID	MilDigitizerId;
	MIL_ID	MilImageBufferId;
	MIL_ID	MilOverlayImage;
	MIL_ID	MilOverlayImageGreen;
	long	ImageWidth, ImageHeight;
	long	TransparentColor;
	
public :
	void	CreateOverlayImage();
	void	DestroyOverlayImage();

// Dialog Data
	//{{AFX_DATA(CSettingColor)
	enum { IDD = IDD_SET_COLOR };
	CScrollBar	m_Rmin_Scrollbar;
	CScrollBar	m_Rmax_Scrollbar;
	CScrollBar	m_Gmin_Scrollbar;
	CScrollBar	m_Gmax_Scrollbar;
	CScrollBar	m_Bmin_Scrollbar;
	CScrollBar	m_Bmax_Scrollbar;
	CString	m_sBmax;
	CString	m_sBmin;
	CString	m_sGmax;
	CString	m_sGmin;
	CString	m_sRmax;
	CString	m_sRmin;
	BOOL	m_bBlackBackground;
	int		m_nSelectedColor;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSettingColor)
	virtual BOOL OnInitDialog();
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnBlackBackgroundCheck();
	afx_msg void OnBallColor();
	afx_msg void OnTeamColor();
	afx_msg void OnId1Color();
	afx_msg void OnId2Color();
	afx_msg void OnId3Color();
	afx_msg void OnOpponentColor();
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SETTINGCOLOR_H__BBFD3C41_B1FE_11D1_B9ED_0000E818599F__INCLUDED_)

⌨️ 快捷键说明

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