📄 honnoiseat.cpp
字号:
// HonnoiSeat.cpp: implementation of the CHonnoiSeat class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Honnoi.h"
#include "HonnoiSeat.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CHonnoiSeat::CHonnoiSeat()
{
}
CHonnoiSeat::~CHonnoiSeat()
{
}
CHonnoiSeat::CHonnoiSeat(int x1, int x2, int y1, int y2)
{
CRect rect(x1,x2,y1,y2);
Rect = rect;
}
CHonnoiSeat::CHonnoiSeat(CRect rect)
{
Rect = rect;
}
void CHonnoiSeat::Draw(CDC *pDC)
{
pDC->Rectangle(Rect);
}
void CHonnoiSeat::operator =(CRect &rect)
{
Rect = rect;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -