📄 plate.h
字号:
// Plate.h: interface for the CPlate class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PLATE_H__3D13AB17_B59B_4A25_BB98_9E01C048F2D2__INCLUDED_)
#define AFX_PLATE_H__3D13AB17_B59B_4A25_BB98_9E01C048F2D2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// 棋盘类
class CPlate
{
int m_ndx; // 棋盘格宽
int m_ndy; // 棋盘格高
int m_nLeft; // 棋盘位置
int m_nTop;
int m_nRight;
int m_nBottom;
public:
CPlate();
void ShowPlate(CDC *pDC);
void DrawConer(CDC *pDC, int row, int col, int type);
CPoint GetPosition(int col, int row);
};
#endif // !defined(AFX_PLATE_H__3D13AB17_B59B_4A25_BB98_9E01C048F2D2__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -