📄 chessboardview.cpp
字号:
// ChessBoardView.cpp : implementation file
//
#include "stdafx.h"
#include "ChessBoard.h"
#include "ChessBoardDlg.h"
#include "ChessBoardView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CChessBoardView
IMPLEMENT_DYNCREATE(CChessBoardView, CView)
CChessBoardView::CChessBoardView()
{
}
CChessBoardView::~CChessBoardView()
{
}
BEGIN_MESSAGE_MAP(CChessBoardView, CView)
//{{AFX_MSG_MAP(CChessBoardView)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CChessBoardView drawing
void CChessBoardView::OnDraw(CDC* pDC)
{
CDocument* pDoc = GetDocument();
// TODO: add draw code here
}
/////////////////////////////////////////////////////////////////////////////
// CChessBoardView diagnostics
#ifdef _DEBUG
void CChessBoardView::AssertValid() const
{
CView::AssertValid();
}
void CChessBoardView::Dump(CDumpContext& dc) const
{
CView::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CChessBoardView message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -