📄 gestrueinfo.cpp
字号:
// GestrueInfo.cpp: implementation of the GestrueInfo class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "GestrueInfo.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
GestrueInfo::GestrueInfo()
{
m_GestureNameCount=0;
}
GestrueInfo::~GestrueInfo()
{
}
BOOL GestrueInfo::IsTheSamePosition(CRect& rect,CRect &comparerect)
{
CRect tmprect;
if(!rect.IsRectEmpty()&&!comparerect.IsRectEmpty())
{
tmprect=rect&comparerect;
if(tmprect.Width()*tmprect.Height()>rect.Width()*rect.Height()/2)
return TRUE;
else
return FALSE;
}
else
return FALSE;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -