turnoff.h

来自「使用MFC实现一个小的动画功能」· C头文件 代码 · 共 56 行

H
56
字号
#if !defined(AFX_TURNOFF_H__044A8EC4_4F70_44AF_90B2_2021F438A51D__INCLUDED_)
#define AFX_TURNOFF_H__044A8EC4_4F70_44AF_90B2_2021F438A51D__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// Turnoff window

class Turnoff : public CStatic
{
// Construction
public:
	Turnoff();

// Attributes
public:
	CString Name,To_Num,B_Position,N_Position,Belock;
	int GX1,GY1,GX2,GY2,DX1,DY1,FX1,FY1;
	int ii;

// Operations
public:
///	void Draw(CDC   *pMemDC,int TrainP,int Speed);
	void Draw(CDC   *pMemDC,int gap,int flag_color);
	void Draw_Usual(CDC   *pMemDC,int gap,int flag_color);
	void DrawG(CDC   *pMemDC,int gap,int flag_color);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(Turnoff)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~Turnoff();

	// Generated message map functions
protected:
	//{{AFX_MSG(Turnoff)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_TURNOFF_H__044A8EC4_4F70_44AF_90B2_2021F438A51D__INCLUDED_)

⌨️ 快捷键说明

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