📄 ana_32view.h
字号:
#if !defined(AFX_ANA_32VIEW_H__FAD1CEA1_2FAC_11D2_9F6B_E96F90A0DED3__INCLUDED_)
#define AFX_ANA_32VIEW_H__FAD1CEA1_2FAC_11D2_9F6B_E96F90A0DED3__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// Ana_32View.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CAna_32View view
class CAna_32View : public CScrollView
{
protected:
CAna_32View(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CAna_32View)
// Attributes
public:
CBrush *OldBrush;
CPen NewPen, *OldPen;
double N;
double n;
double A[8][40];
double B[8][40];
double C[8][40];
double alpha[8][40];
double Value[8][40];
int m_HalfCurveHeigh;
int scrolly;
COLORREF FrontColor[8];
CBrush FrontBrush[8];
CBrush TopBrush[8];
CBrush LeftBrush[8];
// Operations
public:
void FFT(void);
public:
CWgl_32Doc* GetDocument();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAna_32View)
public:
virtual void OnInitialUpdate();
virtual void OnPrepareDC(CDC* pDC, CPrintInfo* pInfo = NULL);
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CAna_32View();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CAna_32View)
afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg void OnFilePrint();
afx_msg void OnFilePrintPreview();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ANA_32VIEW_H__FAD1CEA1_2FAC_11D2_9F6B_E96F90A0DED3__INCLUDED_)
/*
#ifndef _DEBUG // debug version in CStringView.cpp
inline CWgl_32Doc* CAna_32View::GetDocument()
{ return (CWgl_32Doc*)m_pDocument; }
#endif*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -