lcypldlg.h
来自「该程序是在VC++6.0环境中」· C头文件 代码 · 共 72 行
H
72 行
// lcyPLDlg.h : header file
//
#if !defined(AFX_LCYPLDLG_H__E6FCAA06_F887_11D6_B9EE_89F2BCB1AA47__INCLUDED_)
#define AFX_LCYPLDLG_H__E6FCAA06_F887_11D6_B9EE_89F2BCB1AA47__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CLcyPLDlg dialog
typedef struct {
float re, im;
} complex;
class CLcyPLDlg : public CDialog
{
// Construction
public:
static int lcy_Callback(void *inputBuffer,
unsigned long framesPerBuffer);
CLcyPLDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CLcyPLDlg)
enum { IDD = IDD_LCYPL_DIALOG };
CEdit m_edit;
unsigned long m_f;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLcyPLDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CLcyPLDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnButton1();
afx_msg void OnButton2();
afx_msg void OnButton3();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnClose();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CRect m_Indicater_rect;
CPoint Indicater_centerH;
CBrush Brush1;
CFont font,fontL,*oldfont;
CPen pengreen,pengray,*oldpen;
float m_FL;
int IndicaterL;
static unsigned long m_SAMPLE_NUM;
static float * x_lcy;
void lcyIndicaterLine(void);
void lcycyFFTC(void);
void spfftc(complex *x, long *n, long *isign);
void complex_exp(complex *r, complex *z);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LCYPLDLG_H__E6FCAA06_F887_11D6_B9EE_89F2BCB1AA47__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?