📄 direction2.h
字号:
// direction2.h : main header file for the DIRECTION2 application
//
#if !defined(AFX_DIRECTION2_H__24056D56_3287_49C5_ADF6_0F8DDB01B4BD__INCLUDED_)
#define AFX_DIRECTION2_H__24056D56_3287_49C5_ADF6_0F8DDB01B4BD__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
/////////////////////////////////////////////////////////////////////////////
// CDirection2App:
// See direction2.cpp for the implementation of this class
//
class CDirection2App : public CWinApp
{
// CDirection2App类中增加共有属性
//(字体颜色,直线颜色,矩形填充颜色,字体式样,直线宽度 ,画笔式样)
//当前绘图方式.主要为全局的作图属性。
public:
CDirection2App();
UINT m_CurrentTool; //当前绘图方式
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDirection2App)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CDirection2App)
afx_msg void OnAppAbout();
afx_msg void OnDrawSelect();
afx_msg void OnUpdateDrawSelect(CCmdUI* pCmdUI);
afx_msg void OnDrawLine();
afx_msg void OnDrawText();
afx_msg void OnUpdateDrawText(CCmdUI* pCmdUI);
afx_msg void OnDrawRect();
afx_msg void OnUpdateDrawRect(CCmdUI* pCmdUI);
afx_msg void OnUpdateDrawLine(CCmdUI* pCmdUI);
afx_msg void OnLine();
afx_msg void OnUpdateLine(CCmdUI* pCmdUI);
afx_msg void OnRect();
afx_msg void OnText();
afx_msg void OnUpdateText(CCmdUI* pCmdUI);
afx_msg void OnSuoxiao();
afx_msg void OnUpdateSuoxiao(CCmdUI* pCmdUI);
afx_msg void OnUpdateRect(CCmdUI* pCmdUI);
afx_msg void OnNormal();
afx_msg void OnUpdateNormal(CCmdUI* pCmdUI);
afx_msg void OnFangda();
afx_msg void OnUpdateFangda(CCmdUI* pCmdUI);
afx_msg void OnShoudong();
afx_msg void OnUpdateShoudong(CCmdUI* pCmdUI);
afx_msg void OnQuanping();
afx_msg void OnUpdateQuanping(CCmdUI* pCmdUI);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DIRECTION2_H__24056D56_3287_49C5_ADF6_0F8DDB01B4BD__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -