?? pane.cpp
字號:
// Pane.cpp : implementation file
//
#include "stdafx.h"
#include "Snake.h"
#include "Pane.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CPane
CPane::CPane()
{
m_point.x=0;
m_point.y=0;
}
CPane::~CPane()
{
}
BEGIN_MESSAGE_MAP(CPane, CStatic)
//{{AFX_MSG_MAP(CPane)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CPane message handlers
void CPane::SetPoint(int x, int y) //設置該方塊的坐標(虛擬的坐標)
{
m_point.x=x;
m_point.y=y;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -