📄 multargetview.h
字号:
// MulTargetView.h : interface of the CMulTargetView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MULTARGETVIEW_H__BB6E3003_4E97_4F58_ADB3_D4126D8E6769__INCLUDED_)
#define AFX_MULTARGETVIEW_H__BB6E3003_4E97_4F58_ADB3_D4126D8E6769__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CAirTargetView;
class CMulTargetDoc;
class CMulTargetView : public CFormView
{
protected: // create from serialization only
CMulTargetView();
DECLARE_DYNCREATE(CMulTargetView)
public:
//{{AFX_DATA(CMulTargetView)
enum { IDD = IDD_MULTARGET_FORM };
//}}AFX_DATA
// Attributes
public:
CMulTargetDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMulTargetView)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
double m_Aircx;//对空扫描中心横坐标
double m_Aircy;//对空扫描中心纵坐标
double m_AirR; //对空扫描区半径
double m_OnWatercx;
double m_OnWatercy;
double m_OnWaterR;
double m_UnWatercx;
double m_UnWatercy;
double m_UnWaterR;
double m_xspm;//每一相素所表示的距离
double RightX;
double RightY;
int deg1;
int deg2;
CPen pYellow;
CBrush bBlack,bWhite;
CPen pWhite;
CAirTargetView * m_pView;
double CX;
double CY;
double m_lch;
virtual ~CMulTargetView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CMulTargetView)
afx_msg void OnPaint();
afx_msg void OnAirys();
afx_msg void OnOpenairld();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnLdxx();
afx_msg void OnJtxx();
afx_msg void OnMbshc();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in MulTargetView.cpp
inline CMulTargetDoc* CMulTargetView::GetDocument()
{ return (CMulTargetDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MULTARGETVIEW_H__BB6E3003_4E97_4F58_ADB3_D4126D8E6769__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -