📄 els.h
字号:
// Els.h: interface for the CEls class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_ELS_H__1A14EC46_EAD3_4B19_B8B5_E35F3255C1D8__INCLUDED_)
#define AFX_ELS_H__1A14EC46_EAD3_4B19_B8B5_E35F3255C1D8__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CEls
{
public:
CPoint m_Hotp;
CPoint m_Oldp;
UINT m_nType; //Els type
/* 1: *****
2: ***
*
*
*
3: *****
* *
* *
4: ***
***
5: **
** */
UINT m_nOldType;
UINT m_nMoveType; //move type
public:
CEls();
CEls(UINT nType, int x, int y);
virtual ~CEls();
public:
int GetPointNum();
CPoint GetPoint(int num, BOOL b = TRUE);
void SetMoveType(int off);
void SetMoveType();
void SetHotPoint(int xOff, int yOff);
CEls operator=(const CEls &Es);
};
#endif // !defined(AFX_ELS_H__1A14EC46_EAD3_4B19_B8B5_E35F3255C1D8__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -