📄 arsview.h
字号:
// ArsView.h : interface of the CArsView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_ARSVIEW_H__FFCACC3E_DC2D_46DD_B10E_1F955F1A37B8__INCLUDED_)
#define AFX_ARSVIEW_H__FFCACC3E_DC2D_46DD_B10E_1F955F1A37B8__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CArsView : public CView
{
protected: // create from serialization only
CArsView();
DECLARE_DYNCREATE(CArsView)
// Attributes
public:
CArsDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CArsView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
void initTostart();
void delete_one(int re_num);
int remove_num();
BOOL Left_Right_Alert_Touch(int state,int left,int right,int alert =0);
BOOL JudgeTouch();
void ADDToContainer();
void NewBrick();
int CurrentBrick_y;
int CurrentBrick_x;
int Now_state;
int BrickNum;
int speed;
int cents;
int m_Count;
int m_BlockPlace_y;
int m_BlockPlace_x;
int count_x;
UINT TotalInfor[6][5];
int PlaceContainer[24][10];
int down;
int right;
int left;
int removeFirst;
int removeSecond;
int pre_BrickNum;
int over;
CBitmap *brick;
CBitmap *MyGirl;
virtual ~CArsView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CArsView)
afx_msg void OnPaint();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in ArsView.cpp
inline CArsDoc* CArsView::GetDocument()
{ return (CArsDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ARSVIEW_H__FFCACC3E_DC2D_46DD_B10E_1F955F1A37B8__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -