?? cad.h
字號:
// Cad.h : main header file for the CAD application
//
#if !defined(AFX_CAD_H__12E57A07_ADD2_11CF_BF57_B29AF85F4C3B__INCLUDED_)
#define AFX_CAD_H__12E57A07_ADD2_11CF_BF57_B29AF85F4C3B__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
//記錄主任務和輔助任務
extern UINT g_nCurTask;
extern UINT g_nStep;
extern UINT g_nOpqTask;
extern UINT g_nOpqStep;
//記錄對象捕捉
extern BOOL g_bOSnapped;
//記錄當前顏色和線性
extern UINT g_nCurColor;
extern UINT g_nCurLineType;
//記錄當前鼠標狀態
extern UINT g_nFlags;
extern double g_dCurX;
extern double g_dCurY;
extern double g_dPreX;
extern double g_dPreY;
extern double g_dOrgX;
extern double g_dOrgY;
//記錄GRID,ORTHO,SNAP狀態
extern BOOL g_bGrid;
extern BOOL g_bOrtho;
extern BOOL g_bSnap;
//記錄Grid大小和Snap大小
extern double g_dGrid;
extern double g_dSnap;
//記錄對象捕捉類型和屏幕象素點距離
extern int g_nOSnapType;
extern int g_nOSnapSize;
//記錄當前圖形所在區域
extern double g_dMaxX;
extern double g_dMaxY;
extern double g_dMinX;
extern double g_dMinY;
//記錄當前活動視指針
extern class CCadView* g_pCurView;
/////////////////////////////////////////////////////////////////////////////
// CCadApp:
// See Cad.cpp for the implementation of this class
//
class CCadApp : public CWinApp
{
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
CCadApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCadApp)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CCadApp)
afx_msg void OnAppAbout();
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CAD_H__12E57A07_ADD2_11CF_BF57_B29AF85F4C3B__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -